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