public async Task <UpdateStatusEnum> UpdateItemAsync(SchedulerItemData evnt)
 {
     return(await UpdateItemAsync(evnt.Name, evnt));
 }
 public async Task <UpdateStatusEnum> UpdateItemAsync(string originalName, SchedulerItemData evnt)
 {
     evnt.TimeSpan = evnt.Frequency.TimeSpan;
     return(await DataProvider.UpdateAsync(originalName, evnt.Name, evnt));
 }
 public async Task <bool> AddItemAsync(SchedulerItemData evnt)
 {
     evnt.TimeSpan = evnt.Frequency.TimeSpan;
     return(await DataProvider.AddAsync(evnt));
 }