public void DeleteDocumentType(DocumentType documentType) { using (DomainService service = new DomainService()) { service.DeleteDocumentType(documentType); } }