public async Task <IActionResult> Get() { try { return(Ok(await context.GetDashboard())); } catch (Exception ex) { return(BadRequest(new ErrorMessage(ex.Message))); } }
public async Task <IActionResult> Get() { try { return(Ok(await context.GetDashboard())); } catch (Exception ex) { return(BadRequest(new ErrorMessage(ex.Message))); } }