public async Task <IActionResult> Get(int id) { var profile = await profilesRepository.GetAsync(id); if (profile == null) { return(NotFound()); } return(Ok(profile)); }
public async Task <IActionResult> Get(int id) { var profile = await profilesRepository.GetAsync(id); if (profile == null) { return(NotFound()); } return(Ok(profile)); }