public async Task <IActionResult> GetDirectionsType() { var oTypes = await _registry.GetDirectionsType(); return(Ok(oTypes)); }