private void UpdateValueImg(string path) { try { if (!CheckInsert()) { var obj = new DTOUser { AccountID = int.Parse(lbID.Text), User_Image = String.IsNullOrEmpty(path) ? "../img/unnamed.png" : path, }; BllUser.UpdateAvatar(obj); _Error = LibAlert.Alert.AlertSucess("Chúc mừng ! Bạn đã cập nhật thành công tài khoản !"); GetUserEdit(); } } catch (Exception ex) { _Error = LibAlert.Alert.AlertError("Có lỗi xảy ra trong quá trình cập nhật" + "<br/>" + ex.Message); } }