Example #1
0
        public async Task <ActionResult <Project> > GetAProject(string projectNumber)
        {
            var response = await projectsRepository.GetAProject(projectNumber);

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

            return(Ok(viewModel));
        }