/// <summary>
 /// Calculate a summary of sales to a client within a range of dates
 /// </summary>
 public SalesByClientSummary SalesByClient(Client client, DateTime from, DateTime to)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 private void InitializeClients()
 {
     StallmanClient = new Client()
                           {
                               Id = Guid.NewGuid(),
                               FirstName = "Richard",
                               LatsName = "Stallman",
                               IsClientSince = DateTime.Parse("2002-01-01")
                           };
     HejlsbergClient = new Client()
                            {
                                Id = Guid.NewGuid(),
                                FirstName = "Anders",
                                LatsName = "Hejlsberg",
                                IsClientSince = DateTime.Parse("2002-02-02")
                            };
     IcazaClient = new Client()
                        {
                            Id = Guid.NewGuid(),
                            FirstName = "Miguel",
                            LatsName = "de Icaza",
                            IsClientSince = DateTime.Parse("2003-03-03")
                        };
     RossumClient = new Client()
                         {
                             Id = Guid.NewGuid(),
                             FirstName = "Guido",
                             LatsName = "van Rossum",
                             IsClientSince = DateTime.Parse("2003-04-04")
                         };
     HillClient = new Client()
                       {
                           Id = Guid.NewGuid(),
                           FirstName = "Bill",
                           LatsName = "Hill",
                           IsClientSince = DateTime.Parse("2003-05-05")
                       };
     AfriendClient = new Client()
                         {
                             Id = Guid.NewGuid(),
                             FirstName = "A.",
                             LatsName = "Friend",
                             IsClientSince = DateTime.Parse("2004-06-06")
                         };
     Clients = new[]
                   {
                       StallmanClient,
                       HejlsbergClient,
                       IcazaClient,
                       RossumClient,
                       HillClient,
                       AfriendClient
                   };
 }