public virtual AjaxResult PutEntity(Guid entityID, [FromBody] T entity) { var ajaxResult = new AjaxResult(); try { ajaxResult.Data = _baseBL.EditEntity(entityID, entity);; ajaxResult.Success = true; ajaxResult.Messanger = Properties.Resources.VN_SuccessUpdate; } catch (Exception) { ajaxResult.Success = false; ajaxResult.Messanger = Properties.Resources.VN_ErrUpdate; } return(ajaxResult); }