Exemplo n.º 1
0
        public RentalListDto ListRentalForInvoice(string sessionKey, string invoiceID)
        {
            RentalListDto retVal     = new RentalListDto();
            ServiceDto    serviceDto = new ServiceDto {
                Id = 1, Text = "Telephone", Rate = 5.50M, Cap = 97M, Fee = 7M
            };

            retVal.Add(new RentalDto {
                Id = 1, Service = serviceDto, RentDate = DateTime.Now
            });
            return(retVal);
        }
Exemplo n.º 2
0
 public RentalListDto ListRentalForInvoice(string sessionKey, string invoiceID)
 {
     RentalListDto retVal = new RentalListDto();
      ServiceDto serviceDto = new ServiceDto { Id = 1, Text = "Telephone", Rate = 5.50M, Cap = 97M, Fee = 7M };
      retVal.Add(new RentalDto { Id = 1, Service = serviceDto, RentDate = DateTime.Now });
      return retVal;
 }