public ActionResult SaveCashSheetSummary(CashSheetSummary model) { var user = ((UserValidation.CustomPrincipal)(HttpContext.Request.RequestContext.HttpContext.User)).User; model.InsertedBy = user.LoginEmpID; var data = WayBillBAL.BALSaveCashSheetSummary(model); return(Json(data, JsonRequestBehavior.AllowGet)); }
public static bool BALSaveCashSheetSummary(CashSheetSummary model) { var _data = WayBillRepository.SaveCashSummary(model); if (_data == 1) { return(true); } else { return(false); } }