Esempio n. 1
0
        public async Task <ActionResult <IEnumerable <ProjectStatus> > > GetActivatedProjects(string org)
        {
            var response = await projectsRepository.GetActivatedProjects(org);

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

            return(Ok(viewModel));
        }