示例#1
0
 public FileModel(ILogger <FileModel> logger,
                  JsonFileProductService productService)
 {
     _logger        = logger;
     ProductService = productService;
 }
示例#2
0
 public ProductsController(JsonFileProductService productService)
 {
     ProductService = productService;
 }
 /// <summary>
 /// Model class constructor
 /// </summary>
 /// <param name="logger">logging data</param>
 /// <param name="productService">product service</param>
 public FurnitureModel(ILogger <IndexModel> logger,
                       JsonFileProductService productService)
 {
     _logger        = logger;
     ProductService = productService;
 }
示例#4
0
 public IndexModel(ILogger <IndexModel> logger, JsonFileProductService productService)
 {
     ProductService = productService;
     _logger        = logger;
 }
 public Pobrane_z_plikuModel(JsonFileProductService productService)
 {
     ProductService = productService;
 }
示例#6
0
 public IndexModel(ILogger <IndexModel> logger, JsonFileProductService jsonFileProductService)
 {
     _logger        = logger;
     productService = jsonFileProductService;
 }
示例#7
0
 public PrivacyModel(ILogger <PrivacyModel> logger,
                     JsonFileProductService productService)
 {
     _logger        = logger;
     ProductService = productService;
 }
 public EventsController(JsonFileProductService productService, CsharpSeatBookingSystemContext databaseConn)
 {
     _databaseConn       = databaseConn;
     this.ProductService = productService;
 }
 /// <summary>
 /// Get method for "New Post" page which returns images from JsonFileProductServices
 /// </summary>
 /// <returns>Returns images from "My Listings"</returns>
 public static IEnumerable <MyListing> GetImages()
 {
     return(JsonFileProductService.GetImages());
 }
示例#10
0
 public ProductsController(JsonFileProductService jsonFileProductService)
 {
     _jsonFileProductService = jsonFileProductService;
 }
示例#11
0
 public HomeController(JsonFileProductService jsonFileProductService, TextAnalyzerService textAnalyzerService) : base()
 {
     _TextAnalyzerService    = textAnalyzerService;
     _JsonFileProductService = jsonFileProductService;
 }
 public ProductController(JsonFileProductService productService)
 {
     this.ProductService = productService;
 }
示例#13
0
 public IndexModel(ILogger <IndexModel> logger, JsonFileProductService productService, ProductContext context)
 {
     _logger        = logger;
     _context       = context;
     ProductService = productService;
 }
示例#14
0
 public FromFileModel(JsonFileProductService productService)
 {
     ProductService = productService;
 }
示例#15
0
 public ProductListModel(ILogger <IndexModel> logger,
                         JsonFileProductService productService)
 {
     _logger        = logger;
     ProductService = productService;
 }