Ejemplo n.º 1
0
 public UsersController(ComicsDbContext comicsDbContext, UserManager <User> userManager, SignInManager <User> signInManager, ICollectionRepository collectionRepository, IUserRepository userRepository)
 {
     _comicsDbContext      = comicsDbContext;
     _userManager          = userManager;
     _signInManager        = signInManager;
     _collectionRepository = collectionRepository;
     _userRepository       = userRepository;
 }
 public CollectionController(ComicsDbContext context, UserManager <User> userManager, ComicsDbContext db, IWebHostEnvironment appEnviroment, ICollectionRepository collectionRepository, IUserRepository userRepository, ImageManagment imageManagment)
 {
     _context              = context;
     _userManager          = userManager;
     _db                   = db;
     _appEnviroment        = appEnviroment;
     _collectionRepository = collectionRepository;
     _userRepository       = userRepository;
     _imageManagment       = imageManagment;
 }
 public AccountController(UserManager <User> userManager, SignInManager <User> signInManager, ILogger <AccountController> logger, IUserRepository userRep, ICollectionRepository collectionRepository, IEmail email, ImageManagment imageManagment, ComicsDbContext db)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _logger               = logger;
     _userRep              = userRep;
     _collectionRepository = collectionRepository;
     _email          = email;
     _imageManagment = imageManagment;
     _db             = db;
 }
 public WhiskyController(ComicsDbContext context, UserManager <User> userManager, ComicsDbContext db, IWebHostEnvironment appEnviroment, IWhiskyRepository whiskyRepository, ICommentsRepository commentRepository, IUserRepository userRepository, ImageManagment imageManagment, IHubContext <UpdateHub> updateHub)
 {
     _context           = context;
     _userManager       = userManager;
     _db                = db;
     _appEnviroment     = appEnviroment;
     _whiskyRepository  = whiskyRepository;
     _commentRepository = commentRepository;
     _userRepository    = userRepository;
     _imageManagment    = imageManagment;
     _updateHub         = updateHub;
 }
Ejemplo n.º 5
0
 public UserRepository(ComicsDbContext _context)
 {
     db = _context;
 }
 public ProfileModel(ComicsDbContext ctx)
 {
     _userController = new UserController(ctx);
 }
 public CollectionController(ComicsDbContext ctx) : base(ctx)
 {
     _comicBookController = new ComicBookController(ctx);
 }
Ejemplo n.º 8
0
 public HomeController(ILogger <HomeController> logger, ComicsDbContext context, ComicsDbContext db)
 {
     _logger  = logger;
     _context = context;
     _db      = db;
 }
Ejemplo n.º 9
0
 public ComicRepository(ComicsDbContext db, IRepository <Comic> comicsRep)
 {
     this.db        = db;
     this.comicsRep = comicsRep;
 }
 public CollectionRepository(ComicsDbContext _context, ICollRepository <Collection> _collRepository)
 {
     db             = _context;
     collRepository = _collRepository;
 }
Ejemplo n.º 11
0
 public BikeRepository(ComicsDbContext db, IRepository <Bike> bikesRep)
 {
     this.db       = db;
     this.bikesRep = bikesRep;
 }
 public AuthenticationController(ComicsDbContext ctx)
 {
     _ctx = ctx;
 }
Ejemplo n.º 13
0
 public ComicRepository(ComicsDbContext db)
 {
     _db = db;
 }
 public UserController(ComicsDbContext ctx) : base(ctx)
 {
     _collectionController = new CollectionController(ctx);
 }
Ejemplo n.º 15
0
 public ParametroRepository(ComicsDbContext db)
 {
     _db = db;
 }
 public WhiskyRepository(ComicsDbContext db, IRepository <Whisky> whiskiesRep)
 {
     this.db          = db;
     this.whiskiesRep = whiskiesRep;
 }
 public EditComicModel(ComicsDbContext ctx)
 {
     _comicsController = new ComicBookController(ctx);
     _ctx = ctx;
 }
Ejemplo n.º 18
0
 public ComicsRepository(ComicsDbContext context) : base(context)
 {
     _context = context;
 }
 public BaseSiteController(ComicsDbContext ctx)
 {
     _ctx = ctx;
 }
 public ComicBookController(ComicsDbContext ctx) : base(ctx)
 {
 }
Ejemplo n.º 21
0
 public LoginModel(ComicsDbContext ctx)
 {
     _authController = new AuthenticationController(ctx);
 }
Ejemplo n.º 22
0
 public AddComicModel(ComicsDbContext ctx)
 {
     _comicController = new ComicBookController(ctx);
 }
 public CollectionsModel(ComicsDbContext ctx)
 {
     _collectionController = new CollectionController(ctx);
     _userController       = new UserController(ctx);
 }
 public RegisterModel(ComicsDbContext ctx)
 {
     _userController = new UserController(ctx);
 }
Ejemplo n.º 25
0
 public UsuarioRepository(ComicsDbContext db)
 {
     this._db = db;
 }
Ejemplo n.º 26
0
 public CommentsRepository(ComicsDbContext _db)
 {
     db       = _db;
     entities = db.Set <Comment>();
 }
 public CommentCollectionController(ComicsDbContext context)
 {
     _context = context;
 }
 public TitleController(ComicsDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 29
0
 public BaseRepository(ComicsDbContext context)
 {
     this.context = context;
     dbSet        = context.Set <TEntity>();
 }