//////////////////////////////////////////////////////////// // Constructors //////////////////////////////////////////////////////////// /// <summary> /// Initialize a new instance of <see cref="ProjectService"/> /// </summary> /// <param name="db">Instance of <see cref="DqdvContext"/></param> /// <param name="projectPlotCache">Instance of <see cref="ProjectPlotCache"/></param> /// <param name="jobClient">Instance of <see cref="IBackgroundJobClient"/></param> /// <param name="options">Background job options</param> public ProjectService( DqdvContext db, ProjectPlotCache projectPlotCache, IBackgroundJobClient jobClient, IOptions options) { _db = db; _projectPlotCache = projectPlotCache; _jobClient = jobClient; _options = options; }
public ProjectDataRepository(DqdvContext db, ProjectPlotCache cache) { _db = db; _cache = cache; }