Exemplo n.º 1
0
 public ProductQuery(
     IDataDac <ManaDbSchema> schemaDac,
     IDataDac <ManaDbProduct> productDac
     )
 {
     this.productDac = productDac;
     this.schemaDac  = schemaDac;
 }
 public ServiceAPIController(
     IDataDac <BookList> booklistDac,
     WebConfig webConfig
     )
 {
     this.booklistDac = booklistDac;
     FirstDate        = new DateTime(webConfig.Year, webConfig.Month, webConfig.Day1);
     SecondDate       = new DateTime(webConfig.Year, webConfig.Month, webConfig.Day2);
     ThirdDate        = new DateTime(webConfig.Year, webConfig.Month, webConfig.Day3);
     //thailand time
     //var date = DateTime.UtcNow.AddHours(7);
 }
Exemplo n.º 3
0
 public HomeController(IDataDac <BookList> booklistDac)
 {
     this.booklistDac = booklistDac;
 }