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