예제 #1
0
        public async Task <IActionResult> GetAllEmbeddedProjects()
        {
            IEnumerable <EmbeddedProject> embeddedProjects = await embedService.GetEmbeddedProjectsAsync();

            return(Ok(
                       mapper.Map <IEnumerable <EmbeddedProject>, IEnumerable <EmbeddedProjectResourceResult> >(embeddedProjects)));
        }