/// <summary>
 /// [T Lấy dữ liệu Nhóm Lương(Cat_PayrollGroup) theo Id
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public Cat_PayrollGroupModel GetById(Guid id)
 {
     string status = string.Empty;
     var model = new Cat_PayrollGroupModel();
     var service = new ActionService(UserLogin);
     var entity = service.GetByIdUseStore<Cat_PayrollGroupEntity>(id, ConstantSql.hrm_cat_sp_get_PayrollGroupById, ref status);
     if (entity != null)
     {
         model = entity.CopyData<Cat_PayrollGroupModel>();
     }
     model.ActionStatus = status;
     return model;
 }
  public ActionResult Edit([DataSourceRequest] DataSourceRequest request, Cat_PayrollGroupModel user)
  {
 
      var service = new RestServiceClient<Cat_PayrollGroupModel>(UserLogin);
      service.SetCookies(this.Request.Cookies, _hrm_Hr_Service);
      var result = service.Put(_hrm_Hr_Service, "api/Cat_PayrollGroup/", user);
      return Json(result);
  }