public bool Delete(Time entity) { if (Validation(entity, false)) { _timeRepository.DeleteWithSubEntities(entity); return(true); } return(false); }