public static void DeleteHospital(DeleteHospitalRequest request) { var hospital = HospitalRep.GetByID(request.HospitalID); if (hospital != null) { HospitalRep.Delete(hospital); } }