// Get a Client by Id public static IO <ClientAgg> GetClient(string clientId) => from client in Database.Query <FindClientQuery, Client>(new FindClientQuery(clientId)) from getResult in RestaurantDomain.GetClient(client) let agg = (getResult as GetClientResult.ClientFound)?.Agg select agg;