コード例 #1
0
 public IEnumerable <PendingQuoteItem> GetPendingQuoteItems()
 {
     if (!CurrentUser.HasRole(UserRole.Member))
     {
         throw new DomainValidationException(Messages.InsufficientSecurity, "CurrentUser");
     }
     return(_quoteItemRepository.GetPendingQuoteItems());
 }