示例#1
0
        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));
        }
示例#2
0
        public static bool BALSaveCashSheetSummary(CashSheetSummary model)
        {
            var _data = WayBillRepository.SaveCashSummary(model);

            if (_data == 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }