public ScheduleLogic(IScheduleContext Context, IEmployeeContext employeeContext, IShiftContext shiftContext, IAvailabilityContext availabilityContext) { _Context = Context; _employeeContext = employeeContext; _shiftContext = shiftContext; _availabilityContext = availabilityContext; }
public ShiftRepo(Context contextType) { if (contextType == Context.Mssql) { iContext = new ShiftSqlContext(); } else if (contextType == Context.Memory) { //iContext = MemoryContext; } }
public ShiftLogic(IShiftContext Context) { this.Context = Context; }
public ShiftRepository(IShiftContext shiftContext) { _shiftContext = shiftContext; }