public async Task <IActionResult> DeleteAsync(string locatorType, string locator) { if (!await _engineService.CancelBuildAsync(GetLocatorType(locatorType), locator)) { return(NotFound()); } return(Ok()); }