Esempio n. 1
0
 public static void EnsureCreatedSuccessfully(this AccountEntity entity)
 {
     if (entity == null || string.IsNullOrEmpty(entity.Id) == true)
     {
         throw Errors.AccountCreationError();
     }
 }