public PriceListRepository(IBeautySalonContext databaseContext, IBarberDatabaseSettings setting, PostgresDBContext contextPostgres) { _context = databaseContext ?? throw new ArgumentNullException(nameof(databaseContext)); _setting = setting ?? throw new ArgumentNullException(nameof(setting)); _contextPostgres = contextPostgres ?? throw new ArgumentNullException(nameof(contextPostgres)); }
public CalendarRepository(IBeautySalonContext BarberContext, IBarberDatabaseSettings setting, PostgresDBContext contextPostgres) { _context = BarberContext ?? throw new ArgumentNullException(nameof(BarberContext)); _setting = setting ?? throw new ArgumentNullException(nameof(setting)); _contextPostgres = contextPostgres ?? throw new ArgumentNullException(nameof(contextPostgres)); }
public AppointmentRepository(IBeautySalonContext AppointmentContext, PostgresDBContext contextPostgres) { _context = AppointmentContext ?? throw new ArgumentNullException(nameof(AppointmentContext)); _contextPostgres = contextPostgres ?? throw new ArgumentNullException(nameof(contextPostgres)); }