public static Task <IActionResult> ResourceApi([HttpTrigger] HttpRequest request, [Inject] IMcmaAzureResourceApi resourceApi) { Console.WriteLine("Start ServiceRegistry call"); try { return(resourceApi.HandleRequest(request)); } catch (Exception e) { Console.WriteLine(e); throw; } }
public static Task <IActionResult> ResourceApi([HttpTrigger] HttpRequest request, [Inject] IMcmaAzureResourceApi resourceApi) { return(resourceApi.HandleRequest(request)); }