Exemplo n.º 1
0
        public IEnumerable <DocumentType> GetNotFillDocumentType(long userID, DateTime date)
        {
            var fillDocumentTypeIds = _documentTypeRepository
                                      .GetFillDocumentTypes(userID, date)
                                      .Select(dt => dt.DocumentTypeID);
            var notFillDocTypes = _documentTypeRepository.GetMany(dt => !fillDocumentTypeIds.Contains(dt.DocumentTypeID));

            return(notFillDocTypes);
        }