Example #1
0
 public ActionResult SaveWhiteboard()
 {
     try
     {
         var Wbid   = Request.Form["hdnwbid"];
         var Wbname = Request.Form["txtwbname"];
         context.SpupdatewhiteBoard(Wbname, Convert.ToInt32(Wbid));
         context.SaveChanges();
     }
     catch (Exception ex)
     {
         cm.ErrorExceptionLogingByService(ex.ToString(), "WhiteBoards" + ":" + new StackTrace().GetFrame(0).GetMethod().Name, "SaveWhiteboard", "NA", "NA", "NA", "WEB");
     }
     return(RedirectToAction("Index"));
 }