public ActionResult Delete(int id) { Beneficiary Beneficiary = beneficiaryService.Get(id); beneficiaryService.Delete(Beneficiary); beneficiaryService.Commit(); return(RedirectToAction("Index", "Beneficiaries")); }
public ActionResult <List <Beneficiary> > Get() => _beneficiaryServive.Get();