Пример #1
0
        public async Task <ActionResult <ProjectStatus> > ActivateAProject([FromRoute] string project)
        {
            var response = await projectsRepository.ActivateAProject(project);

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

            return(Ok(viewModel));
        }