public static void Initialize() { System.Data.Entity.Database.SetInitializer(new DailyPlanningDBInitializer()); using (var db = new DailyPlanningContext()) { db.Database.Initialize(false); } }
public TimeSheetsController(DailyPlanningContext dbContext, IMapper mapper) { this.dbContext = dbContext; this.mapper = mapper; }
public HomeController(DailyPlanningContext context) { this.context = context; }
public WorkItemController(DailyPlanningContext dbContext, IMapper mapper) { this.dbContext = dbContext; this.mapper = mapper; }
public DailyPlanController(DailyPlanningContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public ProjectController(DailyPlanningContext dbContext, IMapper mapper) { this.dbContext = dbContext; this.mapper = mapper; }