public bool Delete(int entityId)
 {
     return(schedulesRepository.Delete(entityId));
 }
 public bool Delete(long id)
 {
     return(_schedulesRepository.Delete(id));
 }
Exemple #3
0
 public async Task DeleteSchedule(int id)
 {
     await _schedulesRepository.Delete(await _schedulesRepository.getById(id));
 }