public bool Execute() { return(timeSlotRepository.Delete(Id)); }
public int Delete(int id) { var data = _repo.GetById(id); return(_repo.Delete(data)); }
public bool Execute() { return(timeSlotRepository.Delete(Id)); }
public int Delete(int id) { var data = _repo.GetById(id); return(_repo.Delete(data)); }