Esempio n. 1
0
 public ProjectLogicTest() : base()
 {
     fixture.Register(projectRepo           = new ProjectRepository());
     fixture.Register(employeeRepo          = new EmployeeRepository());
     fixture.Register(projectStaffRepsitory = new ProjectStaffRepository());
     fixture.Register(sessionPlanRepository = new SessionPlanRepository());
     fixture.Register(requestRepository     = new RequestRepository());
     fixture.Register(titleRepository       = new TitleRepository());
 }
Esempio n. 2
0
 public ProjectLogic(IProjectRepository projectRepository,
                     IProjectStaffRepository projectStaffRepsitory,
                     IEmployeeRepository employeeRepository,
                     ISessionPlanRepository sessionPlanRepository,
                     IRequestRepository requestRepository,
                     ITitleRepository titleRepository)
 {
     this.projectRepository     = projectRepository;
     this.projectStaffRepsitory = projectStaffRepsitory;
     this.employeeRepository    = employeeRepository;
     this.sessionPlanRepository = sessionPlanRepository;
     this.requestRepository     = requestRepository;
     this.titleRepository       = titleRepository;
 }