Example #1
0
 public DisCountInfoService( iPow.Domain.Repository.IDisCountInfoRepository disCountInfo)
 {
     if (disCountInfo == null)
         {
             throw new ArgumentNullException(" disCountInfoRepository   is null");
         }
         disCountInfoRepository = disCountInfo;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiscountService"/> class.
 /// </summary>
 public DiscountService(iPow.Domain.Repository.IDisCountInfoRepository discount)
 {
     if (discount == null)
     {
         throw new ArgumentNullException("discountRepository is null");
     }
     discountRepository = discount;
 }