예제 #1
0
        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));
        }
예제 #2
0
        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));
        }
예제 #3
0
 public CustomerRepository(PostgresDBContext context)
 {
     _context = context;
 }
예제 #4
0
 public CustomerService(PostgresDBContext context)
 {
     _context = context;
 }
예제 #5
0
 public FavoriteRepository(PostgresDBContext context)
 {
     _context = context;
 }
예제 #6
0
 public BookingService(PostgresDBContext context)
 {
     _context = context;
 }
예제 #7
0
 public AppointmentRepository(IBeautySalonContext AppointmentContext, PostgresDBContext contextPostgres)
 {
     _context         = AppointmentContext ?? throw new ArgumentNullException(nameof(AppointmentContext));
     _contextPostgres = contextPostgres ?? throw new ArgumentNullException(nameof(contextPostgres));
 }
예제 #8
0
 public RatingRepository(PostgresDBContext context)
 {
     _context = context;
 }
예제 #9
0
 public FavoriteService(PostgresDBContext context)
 {
     _context = context;
 }