public static void Main(string[] args) { _dbContext = new ManagerReportsContext(new Startup().Configuration); Log.Logger = new LoggerConfiguration() .MinimumLevel.Information() .WriteTo.RollingFile(Path.Combine(Directory.GetCurrentDirectory(), "logs", "{Date}.log")) .WriteTo.Console(LogEventLevel.Information) .CreateLogger(); //DownloadProjects(); DownloadProejectVersions(); //DownloadEmployees(); //DownloadIssueStatuses(); DownloadIssues(); DownloadTimeRecords(); UpdatedTimeRecordResourceNames(); }
public ProjectRepository() { _dbContext = new ManagerReportsContext(new Startup().Configuration); ; }
public TimeRecordService(ManagerReportsContext dbContext) { _dbContext = dbContext; }
public IssueStatusRepository() { _dbContext = new ManagerReportsContext(new Startup().Configuration);; }
public ProjectReportService(ManagerReportsContext dbContext) { _dbContext = dbContext; }
public EmployeeReportService(ManagerReportsContext dbContext) { _dbContext = dbContext; }
public TimeRecordRepository() { _dbContext = new ManagerReportsContext(new Startup().Configuration); }
public PaymentService(ManagerReportsContext dbContext) { _dbContext = dbContext; }
public EmployeeRepository() { _dbContext = new ManagerReportsContext(new Startup().Configuration); }