Exemplo n.º 1
0
        public async Task <IActionResult> GetDetail(string id)
        {
            var result = await _socialNetworkService.GetDetail(id);

            if (result.Code <= 0)
            {
                return(BadRequest(result));
            }

            return(Ok(result));
        }