/// <summary>
 /// Konstruktor repozytorium kategorii.
 /// </summary>
 public CategoryRepository()
 {
     _db = new KatalogContext();
 }
Exemple #2
0
 public KategorieController(KatalogContext context, IKatalogService katalogService)
 {
     _context        = context;
     _katalogService = katalogService;
 }
Exemple #3
0
 /// <summary>
 /// Konstruktor repozytorium komentarza.
 /// </summary>
 public CommentRepository()
 {
     _db = new KatalogContext();
 }
        public KatalogService(KatalogContext context, IMapper mapper)
        {
            _context = context;

            _mapper = mapper;
        }
Exemple #5
0
 /// <summary>
 /// Konstruktor repozytorium użytkownika.
 /// </summary>
 public CustomerRepository()
 {
     database = new KatalogContext();
 }
Exemple #6
0
 /// <summary>
 /// Konstruktor repozytorium użytkownika.
 /// </summary>
 public ServiceProviderRepository()
 {
     _db = new KatalogContext();
 }
 public RodzajeController(KatalogContext context, IKatalogService katalogService)
 {
     _context        = context;
     _katalogService = katalogService;
 }
 public OpinionRepository()
 {
     _db = new KatalogContext();
 }
Exemple #9
0
 public TypyController(KatalogContext context, IKatalogService katalogService)
 {
     _context        = context;
     _katalogService = katalogService;
 }
 public PrzedmiotyController(KatalogContext context, IKatalogService katalogService)
 {
     _context        = context;
     _katalogService = katalogService;
 }
 public CompanyRepository()
 {
     _db = new KatalogContext();
 }