public async Task <ActionResult <IEnumerable <ProjectStatus> > > DeactivateAProject([FromRoute] string project) { var response = await projectsRepository.DeactivateAProject(project); var viewModel = mapper.Map <IEnumerable <ProjectStatus> >(response); return(Ok(viewModel)); }