public Speciality Delete(Guid id) { var speciality = _repository.GetOne(id); _repository.Delete(speciality); if (Commit()) { return(speciality); } return(null); }