public bool DeleteDocumentType(PMDocumentType pmDocumentType) { _pmRepository.Delete(pmDocumentType, _pmRepository.GetApplicationDbContext); return(true); }
public PMDocumentType UpdateDocumentType(PMDocumentType pmDocumentType) { return(_pmRepository.Update(pmDocumentType, _pmRepository.GetApplicationDbContext)); }
//Document Types public PMDocumentType AddDocumentType(PMDocumentType pmDocumentType) { return(_pmRepository.Insert(pmDocumentType, _pmRepository.GetApplicationDbContext)); }