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); }
public HomeController(IDataDac <BookList> booklistDac) { this.booklistDac = booklistDac; }