public ActionResult Create(Hre_ProfileQualificationModel model)
 {
     if (ModelState.IsValid)
     {
         var service = new RestServiceClient<Hre_ProfileQualificationModel>(UserLogin);
         service.SetCookies(this.Request.Cookies, _hrm_Hr_Service);
         var result = service.Put(_hrm_Hr_Service, "api/Hre_ProfileQualification/", model);
         ViewBag.MsgInsert = ConstantDisplay.HRM_Hr_Qualification_CreateSuccess.TranslateString();
     }
     return View();
 }
 /// <summary>
 /// [Son.Vo] - Lấy dữ liệu Trình độ chuyên môn(Hre_Qualification) theo Id
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public Hre_ProfileQualificationModel GetById(Guid id)
 {
     string status = string.Empty;
     var model = new Hre_ProfileQualificationModel();
     ActionService service = new ActionService(UserLogin);
     //var entity = service.GetByIdUseStore<Hre_QualificationEntity>(id,ConstantSql.hrm_hr_sp_get_QualificationById, ref status);
     var entity = service.GetData<Hre_ProfileQualificationEntity>(Common.DotNetToOracle(id.ToString()), ConstantSql.hrm_hr_sp_get_ProfileQualificationById, ref status).FirstOrDefault();
     if (entity != null)
     {
         model = entity.CopyData<Hre_ProfileQualificationModel>();
     }
     model.ActionStatus = status;
     return model;
 }
 public ActionResult Edit([DataSourceRequest] DataSourceRequest request, Hre_ProfileQualificationModel Qualification)
 {
    
     if (ModelState.IsValid)
     {
         var service = new RestServiceClient<Hre_ProfileQualificationModel>(UserLogin);
         service.SetCookies(this.Request.Cookies, _hrm_Hr_Service);
         var result = service.Put(_hrm_Hr_Service, "api/Hre_ProfileQualification/", Qualification);
         //return Json(result);
         ViewBag.MsgUpdate = ConstantDisplay.HRM_Hr_Qualification_UpdateSuccess.TranslateString();
     }
     return View();
 }