Ejemplo n.º 1
0
        public async Task <ActionResult <ProjectStatus> > GetActivatedProjectsWhere([FromRoute] string project)
        {
            var response = await projectsRepository.GetActivatedProjectsWhere(project);

            var viewModel = mapper.Map <ProjectStatus>(response);

            return(Ok(viewModel));
        }