public async Task <IActionResult> GetDetail(string id) { var result = await _socialNetworkService.GetDetail(id); if (result.Code <= 0) { return(BadRequest(result)); } return(Ok(result)); }
public async Task <IActionResult> GetDetail(string id) { var result = await _socialNetworkService.GetDetail(id); if (result.Code <= 0) { return(BadRequest(result)); } return(Ok(result)); }