Esempio n. 1
0
        public async Task <IHttpActionResult <NounReadDto> > Get(Guid id)
        {
            try
            {
                Noun noun = await _nounService.ReadAsync(id);

                return(Ok(noun.ToNounReadDto()));
            }
            catch
            {
                return(InternalServerError <NounReadDto>(new NounReadDto()));
            }
        }