Hi ramco1917,
The error happens because your Action Result doesn't return anything if Try failed.
So adding the line return null or return any other thing will solve the issue.
[HttpGet]
public ActionResult Delete()
{
try
{
return PartialView("_DeletePartial");
}
catch (Exception ex)
{
//ExceptionLogging.SendExcepToDB(ex);
TempData["Message"] = "Error Encountered.";
}
return null;
}