public async Task <ActionResult> GetTopRatedWorks() { try { var result = await _contestService.GetTopWorks(); return(Result.Ok(result)); } catch (Exception ex) { return(Result.Error(ex)); } }
public async Task <ActionResult> GetTopRatedWorks() { try { var result = await _contestService.GetTopWorks(); return(Result.Ok(result)); } catch (Exception ex) { return(Result.Error(ex)); } }