public UserRepository(PartiuAlmocoDbContext dbContext, ILogger <UserRepository> logger) { Guard.Against.Null(dbContext, nameof(dbContext)); this.dbContext = dbContext; this.logger = logger; }
public RestaurantPollRepository(PartiuAlmocoDbContext dbContext, IRestaurantRepository restaurantRepository) { Guard.Against.Null(dbContext, nameof(dbContext)); Guard.Against.Null(restaurantRepository, nameof(restaurantRepository)); this.dbContext = dbContext; this.restaurantRepository = restaurantRepository; }
public RestaurantRepository(PartiuAlmocoDbContext dbContext) { Guard.Against.Null(dbContext, nameof(dbContext)); this.dbContext = dbContext; }