public RestaurantRepository( IMapper mapper, RestaurantTableReservationSystemContext context) { this.Mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.Context = context ?? throw new ArgumentNullException(nameof(context)); }
public AdministratorRepository( RestaurantTableReservationSystemContext context, IRestaurantRepository restaurantRepository) { this.Context = context ?? throw new ArgumentNullException(nameof(context)); this.restaurantRepository = restaurantRepository ?? throw new ArgumentNullException(nameof(restaurantRepository)); }
public RestaurantComponentsRepository(RestaurantTableReservationSystemContext context) { this.Context = context ?? throw new ArgumentNullException(nameof(context)); }
public AuthenticationRepository(RestaurantTableReservationSystemContext context, IConfiguration config) { this.Context = context ?? throw new ArgumentNullException(nameof(context)); this.Config = config ?? throw new ArgumentNullException(nameof(config)); }