public PageService(PageDBContext dbContext, IHostingEnvironment hostingEnvironment, IPictureHelper pictureHelper, IUploadService uploadService, IHttpContextAccessor accessor) { this._dbContext = dbContext; this._hostingEnvironment = hostingEnvironment; this._pictureHelper = pictureHelper; this._uploadService = uploadService; this._accessor = accessor; }
public PageService(PageDBContext dbContext) { this._dbContext = dbContext; }