Example #1
0
 public HomeController(IProjectRepository repositoryProject, IDeveloperRepository repositoryDeveloper, IProjectDeveloperRepository repositoryProjectDeveloper)
 {
     this.projectRepository          = repositoryProject;
     this.developerRepository        = repositoryDeveloper;
     this.projectDeveloperRepository = repositoryProjectDeveloper;
     //   db = context;
 }
Example #2
0
 public UnitOfWork(
     EfDbContext context,
     IProjectRepository projectRepository,
     IAccountRepository accountRepository,
     IDeveloperRepository developerRepository,
     IProjectDeveloperRepository projectDeveloperRepository)
 {
     _dbContext                 = context;
     ProjectRepository          = projectRepository;
     AccountRepository          = accountRepository;
     DeveloperRepository        = developerRepository;
     ProjectDeveloperRepository = projectDeveloperRepository;
 }