Esempio n. 1
0
 public ActionResult EditNotes(DepositModel depositModel)
 {
     try
     {
         dal.EditDepositNotes(depositModel);
         Session["message"]       = "Notes is successfully edited";
         Session["requestStatus"] = "Success";
         return(RedirectToAction("Index"));
     }
     catch
     {
         Session["message"]       = "Unable to perform this request";
         Session["requestStatus"] = "Error";
         return(RedirectToAction("Index"));
     }
 }