public async static Task <ResponseModel> RunJob([ActivityTrigger] JobModel model, ILogger log,
                                                        ExecutionContext context)
        {
            ResponseModel response = await JobFunction.InternalRun(model, GetJob(model), log, context);

            return(response);
        }
        public async static Task RunFromQueue(
            [ServiceBusTrigger("jobs", Connection = "ServiceBusConnectionString")] string myQueueItem,
            ILogger log,
            ExecutionContext context)
        {
            JobModel model = JsonConvert.DeserializeObject <JobModel>(myQueueItem);

            await JobFunction.InternalRun(model, GetJob(model), log, context);
        }