public ProjectsController(PSTS6Context context, IMapper mapper, IOptionsMonitor <ProjectSettings> settings, BackgroundCalculations backgroundCalculations, IRepository repo) { _context = context; _mapper = mapper; _settings = settings.CurrentValue; _backgroundCalculations = backgroundCalculations; _repo = repo; }
public DbRepository(PSTS6Context context, IHttpContextAccessor http, BackgroundCalculations backgroundCalculations, DbSet <ProjectTemplate> projectTemplate) { _context = context; _http = http; _backgroundCalculations = backgroundCalculations; }