Beispiel #1
0
 public Dto.AccountDto CreateAccount(Dto.AccountDto account)
 {
     try
     {
         var wcf = new EntitiesModelService();
         var dtoKey = wcf.CreateAccount(account);
         var newAccount = wcf.ReadAccount(dtoKey);
         return newAccount;
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return null;
 }