public Scheduling Remove(string id) { var entity = SchedulingRepository.Find(new Guid(id)); SchedulingRepository.Remove(entity); return(entity); }
public void Remove(int id) { _schedulingRepository.Remove(id); }