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