예제 #1
0
        public ActionResult InsuranceSalaryPaybackValidate([DataSourceRequest] DataSourceRequest request, Ins_InsuranceSalaryPaybackSearchModel model)
        {
            #region Validate
            string message = string.Empty;
            var checkValidate = ValidatorService.OnValidateData<Ins_InsuranceSalaryPaybackSearchModel>(model, "Ins_InsuranceSalaryPayback", ref message);
            if (!checkValidate)
            {
                var ls = new object[] { "error", message };
                return Json(ls);
            }

            #endregion
            return Json(message);
        }
예제 #2
0
 /// <summary>Ds Truy Lĩnh Bảo Hiểm</summary>
 /// <param name="request"></param>
 /// <param name="model"></param>
 /// <returns></returns>
 public ActionResult GetInsuranceSalaryPaybackList([DataSourceRequest] DataSourceRequest request, Ins_InsuranceSalaryPaybackSearchModel model)
 {
     return GetListDataAndReturn<Ins_InsuranceSalaryPaybackModel, Ins_InsuranceSalaryPaybackEntity, Ins_InsuranceSalaryPaybackSearchModel>(request, model, ConstantSql.hrm_ins_sp_get_SalPayBack);
 }