Ejemplo n.º 1
0
 public JsonResult DeleteRequestItem(int?RequestItemId)
 {
     try
     {
         DepartmentService service = new DepartmentService();
         service.DeleteRequestItem(RequestItemId);
         return(Json(new { Status = true, Message = "Deleted Successfully" }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { Status = false, Message = "Error Occured" }, JsonRequestBehavior.AllowGet));
     }
 }