Ejemplo n.º 1
0
        public async Task <IActionResult> Put(string id, [FromBody] string status)
        {
            AzureStorageManager azStorageMgr = new AzureStorageManager(Globals.GetAppSetting("STORAGECONNECTIONSTRING"), "BdpFamilySanitizer");

            DesignAutomationRecord[] dar = await azStorageMgr.ReadAutomationRecord(_logTable, id);

            IActionResult res = await azStorageMgr.UpdateLoggedWorkItemStatus(status, dar.First <DesignAutomationRecord>(), _logTable);

            return(res);
        }