public UserRepository(RoomPlannerDevContext context) { this.context = context; users = context.User; userrole = context.UserRole; role = context.Role; }
public AvailabilityRepository(RoomPlannerDevContext context) { this.context = context; availabilities = context.Set <Availability>(); }
//private IEventRepository eventRepository; public DbOperation(RoomPlannerDevContext context) { this.context = context; }
public DepartmentRepository(RoomPlannerDevContext context) { _context = context; _departments = context.Set <Department>(); }
public EventRepository(RoomPlannerDevContext context) { this.context = context; events = context.Event; }
public UserRoleRepository(RoomPlannerDevContext context) { this.context = context; userroles = context.Set <UserRole>(); }
public RoleRepository(RoomPlannerDevContext context) { _context = context; _roles = context.Set <Role>(); }
public PenaltyRepository(RoomPlannerDevContext context) { this.context = context; penalties = context.Set <Penalty>(); }
public TimeSlotRepository(RoomPlannerDevContext context) { this.context = context; timeslots = context.Set <TimeSlot>(); }
public RoomRepository(RoomPlannerDevContext context) { this.context = context; rooms = context.Set <Room>(); }