public ActionResult OnGetDeletePlanAsync(int id) { int result = restSrvc.DeletePlan(id); return(RedirectToPage("/restaurant/plans")); }