public static Task <IActionResult> Get <T>(this IQueryServer server, Id id) where T : Query => server.Get(typeof(T), id);
public static Task <IActionResult> Get <T>(this IQueryServer server, string id) where T : Query => server.Get(typeof(T), Id.From(id));
public static Task <IActionResult> Get <T>(this IQueryServer server) where T : Query => server.Get(typeof(T), Id.Unassigned);
public static Task <IActionResult> Get(this IQueryServer server, Type type, string id) => server.Get(type, Id.From(id));
public static Task <IActionResult> Get(this IQueryServer server, Type type) => server.Get(type, Id.Unassigned);
public Task <IActionResult> GetStatus([FromRoute] Id id, [FromServices] IQueryServer queries) => queries.Get <DealerDetailsQuery>(id);