public ActionResult Get() { // Send the query var query = new GetCustomersQuery(); var customers = query.Run(); return(Ok(customers)); }