示例#1
0
        //private readonly IEventPublisher _eventPublisher;

        #endregion

        #region Ctor

        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="vendorRepository">Vendor repository</param>
        /// <param name="vendorNoteRepository">Vendor note repository</param>
        /// <param name="eventPublisher">Event published</param>
        public VendorDomainService(IVendorRepository vendorRepository,
                                   IVendorNoteRepository vendorNoteRepository
                                   //,IEventPublisher eventPublisher
                                   )
        {
            this._vendorRepository     = vendorRepository;
            this._vendorNoteRepository = vendorNoteRepository;
            //this._eventPublisher = eventPublisher;
        }
示例#2
0
 public VendorNoteController(IVendorRepository vendorRepository, IVendorNoteCategoryRepository vendornotecategoryRepository, IVendorNoteRepository vendornoteRepository)
 {
     this.vendorRepository = vendorRepository;
     this.vendornotecategoryRepository = vendornotecategoryRepository;
     this.vendornoteRepository = vendornoteRepository;
 }