Beispiel #1
0
 public Dto.PagamentoDto CreatePagamento(Dto.PagamentoDto pagamento)
 {
     try
     {
         var wcf = new EntitiesModelService();
         var dtoKey = wcf.CreatePagamento(pagamento);
         var id = UtilityPOCO.GetId(dtoKey);
         var newPagamento = ReadPagamento(id);
         return newPagamento;
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return null;
 }