コード例 #1
0
 public ProductController(ICatalogService service, IImageStorageService imageService, ITopListService topService, IMapper <Product, ProductModel> listMapper, IMapper <Product, EditProductModel> editMapper)
 {
     this.service      = service;
     this.imageService = imageService;
     this.topService   = topService;
     this.listMapper   = listMapper;
     this.editMapper   = editMapper;
 }
コード例 #2
0
 public ProductController(ICatalogService service, IImageStorageService imageService, ITopListService topService, IMapper<Product, ProductModel> listMapper, IMapper<Product, EditProductModel> editMapper)
 {
     this.service = service;
     this.imageService = imageService;
     this.topService = topService;
     this.listMapper = listMapper;
     this.editMapper = editMapper;
 }
コード例 #3
0
 public HomeController(ICatalogService service, ITopListService topService, IMapper <Product, ProductModel> mapper)
 {
     this.service    = service;
     this.topService = topService;
     this.mapper     = mapper;
 }
コード例 #4
0
 public HomeController(ICatalogService service, ITopListService topService, IMapper<Product, ProductModel> mapper)
 {
     this.service = service;
     this.topService = topService;
     this.mapper = mapper;
 }