Example #1
0
 public CarteRepository(proiectDawContext context)
 {
     _context = context;
     _table   = context.Set <Carte>();
 }
Example #2
0
 public UserRepository(proiectDawContext context)
 {
     _context = context;
     _table   = context.Set <User>();
 }
Example #3
0
 public AuthController(IUserService userService, proiectDawContext context)
 {
     this._userService = userService;
     this._context     = context;
 }
Example #4
0
 public AutorRepository(proiectDawContext context)
 {
     _context = context;
     _table   = context.Set <Autor>();
 }
Example #5
0
 public CategorieController(ICategorieService categorieService, proiectDawContext context)
 {
     this._categorieService = categorieService;
     this._context          = context;
 }
Example #6
0
 public ReviewRepository(proiectDawContext context)
 {
     _context = context;
     _table   = context.Set <Review>();
 }
Example #7
0
 public AccountController(proiectDawContext context, IUserService userService, ITokenService tokenService)
 {
     _context      = context;
     _userService  = userService;
     _tokenService = tokenService;
 }