예제 #1
0
 public Ins_ChildSickModel GetById(Guid id)
 {
     string status = string.Empty;
     var model = new Ins_ChildSickModel();
     var service = new ActionService(UserLogin);
     var entity = service.GetByIdUseStore<Ins_ChildSickEntity>(id, ConstantSql.hrm_ins_sp_get_ChildSickById, ref status);
     if (entity != null)
     {
         model = entity.CopyData<Ins_ChildSickModel>();
     }
     model.ActionStatus = status;
     return model;
 }
예제 #2
0
 public ActionResult GetChildSickList([DataSourceRequest] DataSourceRequest request, Ins_ChildSickModel model)
 {
     return GetListDataAndReturn<Ins_ChildSickModel, Ins_ChildSickEntity, Ins_ChildSickModel>(request, model, ConstantSql.hrm_ins_sp_get_ChildSick);
 }