Beispiel #1
0
 public AuthController(SvDbContext context, IAuth repo, IMapper mapper, IConfiguration config)
 {
     _config  = config;
     _mapper  = mapper;
     _context = context;
     _repo    = repo;
 }
Beispiel #2
0
        public ProductController(SvDbContext context, IMapper mapper, IProduct repo)
        {
            _repo = repo;

            _mapper  = mapper;
            _context = context;
        }
Beispiel #3
0
 public Auth(SvDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public FavRepo(SvDbContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public ProductRepo(SvDbContext context)
 {
     _context = context;
 }
Beispiel #6
0
 public UserController(SvDbContext context, IMapper mapper, IFav repo)
 {
     _repo    = repo;
     _mapper  = mapper;
     _context = context;
 }