Exemple #1
0
 public List <dynamic> Execute()
 {
     using (var cmd = new CustomerGetByIdRepository())
     {
         cmd.CustomerId = this.CustomerId.Value;
         return(cmd.Execute());
     }
 }
 public List <Domain.Customer> Execute()
 {
     using (var cmd = new CustomerGetByIdRepository())
     {
         cmd.CustomerId = this.CustomerId;
         return(cmd.Execute());
     }
 }