public async Task <IActionResult> GetAccountDetail(int id) { var user = await _repo.AccountAccountForBlog(id); if (user == null) { return(NotFound()); } var returnUser = _mapper.Map <AccountBlogDTO>(user); return(Ok(returnUser)); }
public async Task <IActionResult> GetAccountDetail(int id) { var user = await _repo.AccountAccountForBlog(id); if (user == null) { return(NotFound()); } var returnUser = _mapper.Map <AccountBlogDTO>(user); return(Ok(returnUser)); }