Exemplo n.º 1
0
 public TeamRepository(WorkSharpDbContext context, IProjectRepository projectRepository)
 {
     _context           = context;
     _dbSet             = _context.Teams;
     _projectRepository = projectRepository;
 }
Exemplo n.º 2
0
 public UserRepository(WorkSharpDbContext context, UserManager <DbUser> userManager)
 {
     _context     = context;
     _dbSet       = _context.Users;
     _userManager = userManager;
 }
Exemplo n.º 3
0
 public ProjectRepository(WorkSharpDbContext context)
 {
     _context = context;
     _dbSet   = _context.Projects;
 }
Exemplo n.º 4
0
 public TaskBoardRepository(WorkSharpDbContext context, IProjectRepository projectRepository)
 {
     _context           = context;
     _dbSet             = _context.TaskBoards;
     _projectRepository = projectRepository;
 }
Exemplo n.º 5
0
 public TaskRepository(WorkSharpDbContext context)
 {
     _context = context;
     _dbSet   = _context.Tasks;
 }
Exemplo n.º 6
0
 public SolutionRepository(WorkSharpDbContext context)
 {
     _context = context;
     _dbSet   = _context.Solutions;
 }