public BaseRepository(MadBugContext context) { _context = context; _dbSet = _context.Set <TEntity>(); }
public BugController(BugRepository bugRepository, MadBugContext context, IMapper mapper) { _bugRepository = bugRepository; _context = context; _mapper = mapper; }
public BugRepository(MadBugContext context) : base(context) { }
public UserController(UserRepository userRepository, MadBugContext context, IMapper mapper) { _userRepository = userRepository; _context = context; _mapper = mapper; }