public async Task Add(string cron, Type jobType, string jobKey) { var settings = new RecurrentJobSettingsMetadata(jobKey, jobType, cron); await _jobRepository.AddRecurrentJobSettings(RecurrentJobSettings.CreatedRecurrentJobSettings(settings)); }
public async Task Add(string cron, Type jobType, string jobKey) { var settings = new RecurrentJobSettingsMetadata(jobKey, jobType, cron); await _jobRepository.AddRecurrentJobSettings(RecurrentJobSettings.CreatedRecurrentJobSettings(settings)); }