コード例 #1
0
 public GetPackageSubscriberCommand(
     IPackageSubscriberRepository packageSubscriberRepository,
     IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberMapper)
 {
     _packageSubscriberRepository = packageSubscriberRepository;
     _packageSubscriberMapper     = packageSubscriberMapper;
 }
コード例 #2
0
 public PostPackageSubscriberCommand(
     IPackageSubscriberRepository packageSubscriberRepository,
     IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberToPackageSubscriberMapper,
     IMapper <SavePackageSubscriber, Models.PackageSubscriber> savePackageSubscriberToPackageSubscriberMapper,
     IHttpContextAccessor httpContextAccessor)
 {
     _packageSubscriberRepository = packageSubscriberRepository;
     _packageSubscriberToPackageSubscriberMapper     = packageSubscriberToPackageSubscriberMapper;
     _savePackageSubscriberToPackageSubscriberMapper = savePackageSubscriberToPackageSubscriberMapper;
     _httpContextAccessor = httpContextAccessor;
 }
コード例 #3
0
 public PublicPostPackageSubscriberCommand(
     IPackageSubscriberRepository packageSubscriberRepository,
     IPaidPackageRepository paidPackageRepository,
     IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberToPackageSubscriberMapper,
     IMapper <SavePackageSubscriber, Models.PackageSubscriber> savePackageSubscriberToPackageSubscriberMapper)
 {
     _packageSubscriberRepository = packageSubscriberRepository;
     _paidPackageRepository       = paidPackageRepository;
     _packageSubscriberToPackageSubscriberMapper     = packageSubscriberToPackageSubscriberMapper;
     _savePackageSubscriberToPackageSubscriberMapper = savePackageSubscriberToPackageSubscriberMapper;
 }
コード例 #4
0
 public DeletePackageSubscriberCommand(IPackageSubscriberRepository packageSubscriberRepository)
 {
     _packageSubscriberRepository = packageSubscriberRepository;
 }