Example #1
0
 public ActionResult Delete(GovernmentFundsViewModel GovernmentFundsVM)
 {
     try
     {
         GovernmentFundsBLL governmentFundBLL = new GovernmentFundsBLL();
         governmentFundBLL.LoginIdentity = UserIdentity;
         governmentFundBLL.Remove(GovernmentFundsVM.GovernmentFundID);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }