public SportGoodsController(DBContent context, IAllSportGoods postRepository, IHostingEnvironment hostingEnvironment, ILogger <SportGoodsController> logger)
 {
     _context                = context;
     _postRepository         = postRepository;
     this.hostingEnvironment = hostingEnvironment;
     this.logger             = logger;
 }
Esempio n. 2
0
 public AdminController(IAllSportGoods postRep, IHostingEnvironment hostingEnvironment)
 {
     _postRep = postRep;
     this.hostingEnvironment = hostingEnvironment;
 }