* Fixed Hangfire update jobs

This commit is contained in:
2025-08-24 08:48:11 +02:00
parent 81aae81016
commit eb756eedec
3 changed files with 185 additions and 151 deletions

View File

@@ -28,4 +28,10 @@ public class HangfireService(
HttpResponseMessage responseMessage = await PostAsJsonAsync("api/HangfireJobs/delete", taskSchedulerDto);
return responseMessage.IsSuccessStatusCode ? 1 : 0;
}
public async Task<int> UpdateTaskSchedulerAsync(TaskSchedulerDto taskSchedulerDto)
{
HttpResponseMessage responseMessage = await PostAsJsonAsync("api/HangfireJobs/update", taskSchedulerDto);
return responseMessage.IsSuccessStatusCode ? 1 : 0;
}
}