partial void OnNameChanging(string value) { if (string.IsNullOrEmpty(value.Trim())) { throw new Exception("Nhập tên."); } if (ReceiptBLL.IsExistName(value.Trim(), ID)) { throw new Exception("Trùng tên"); } }