public async Task <IActionResult> GetAllAsync() { var results = await coursesProvider.GetAllasAsync(); if (results != null) { return(Ok(results)); } return(NotFound()); }
public async Task <IActionResult> GetAllAsync() { var results = await coursesProvider.GetAllasAsync(); if (results != null) { return(Ok(results)); } return(NotFound()); }