public async Task <IActionResult> GetSocialCommunication(int id) { var categoryFroRepo = await _repo.GetSocialCommunication(id); var post = _mapper.Map <CategoryReturnDTO>(categoryFroRepo); if ((categoryFroRepo == null)) { return(NotFound()); } return(Ok(categoryFroRepo)); }