Example #1
0
        /// <summary>
        /// this constructor is used for services Dependency Injection
        /// </summary>
        /// <param name="projectService">project service object</param>
        /// <param name="employeeService">project service object</param>

        public ProjectController(IProjectService projectService, IEmployeeService employeeService, IMapper mapper, IProjectManagementService projectManagementService, IProjectRequirementsService projectRequirementsService)
        {
            _projectService             = projectService;
            _employeeService            = employeeService;
            _mapper                     = mapper;
            _projectManagementService   = projectManagementService;
            _projectRequirementsService = projectRequirementsService;
        }
 /// <summary>
 /// this constructor is uesd for services Dependency Injection
 /// </summary>
 /// <param name="departmentService">department service object</param>
 public ProjectRequirementsController(IProjectRequirementsService projectRequirementsService)
 {
     _projectRequirementsService = projectRequirementsService;
 }