public CsvResourceAllocationBridge(IResourceAllocationRepository resourceAllocationRepository, IProjectRepository projectRepository, IResourceRepository resourceRepository, ITeamRepository teamRepository, IDepartmentRepository departmentRepository)
 {
     ResourceAllocationRepository = resourceAllocationRepository;
     ProjectRepository = projectRepository;
     ResourceRepository = resourceRepository;
     TeamRepository = teamRepository;
     DepartmentRepository = departmentRepository;
 }
        public ResourceAllocationController(IStatusReportRepository repository, ITopicRepository topicRepository, IProjectRepository projectRepository, IResourceRepository resourceRepository, IStatusReportManager statusReportManager, ITeamRepository teamRepository, ITagRepository tagRepository, IResourceAllocationRepository resourceAllocationRepository)
        {
            _repository = repository;
            _topicRepository = topicRepository;
            _projectRepository = projectRepository;
            _resourceRepository = resourceRepository;
            _tagRepository = tagRepository;
            _teamRepository = teamRepository;
            _statusReportManager = statusReportManager;
            _resourceAllocationRepository = resourceAllocationRepository;

            Mapper.CreateMap<Project, StatusMvc.Models.ResourceAllocationViewModel.TeamAllocationRAVM.ProjectRAVM>();

            Mapper.CreateMap<Team, StatusMvc.Models.ResourceAllocationViewModel.TeamAllocationRAVM>()
                .ForMember(t => t.Members, opt => opt.Ignore());

            Mapper.CreateMap<ResourceAllocation, ResourceAllocationViewModel.TeamAllocationRAVM.MonthRAVM>();

            Mapper.CreateMap<Employee, StatusMvc.Models.ResourceAllocationViewModel.TeamAllocationRAVM.UserRAVM>();
        }
 public ResourceAllocationController(IResourceAllocationRepository repository, IMapper mapper)
 {
     _mapper     = mapper;
     _repository = repository;
 }