public ProjectRepository(ErpDbContext context , Iproject_partnerRepository <project_partnerModel> repo_project_partner , IGenericRepository <PartnerModel> repo_partner , IUnitOfWork unitOfWork) { _context = context; _repo_project_partner = repo_project_partner; _repo_partner = repo_partner; _unitOfWork = unitOfWork; }
public ProjectController( IProjectRepository <ProjectModel> repo_project , Iproject_partnerRepository <project_partnerModel> repo_project_partner , IGenericRepository <PartnerModel> repo_partner , IUnitOfWork unitOfWork ) { _repo_project = repo_project; _repo_project_partner = repo_project_partner; _repo_partner = repo_partner; _unitOfWork = unitOfWork; }