Exemplo n.º 1
0
        public async Task <IActionResult> GetTitle(string name)
        {
            var title = await _titleService.GetTitleByNameAsync(name);

            var toShow = _mapper.Map <TitlePageViewModel>(title);

            return(Ok(toShow));
        }