public GetPackageSubscriberCommand( IPackageSubscriberRepository packageSubscriberRepository, IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberMapper) { _packageSubscriberRepository = packageSubscriberRepository; _packageSubscriberMapper = packageSubscriberMapper; }
public PostPackageSubscriberCommand( IPackageSubscriberRepository packageSubscriberRepository, IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberToPackageSubscriberMapper, IMapper <SavePackageSubscriber, Models.PackageSubscriber> savePackageSubscriberToPackageSubscriberMapper, IHttpContextAccessor httpContextAccessor) { _packageSubscriberRepository = packageSubscriberRepository; _packageSubscriberToPackageSubscriberMapper = packageSubscriberToPackageSubscriberMapper; _savePackageSubscriberToPackageSubscriberMapper = savePackageSubscriberToPackageSubscriberMapper; _httpContextAccessor = httpContextAccessor; }
public PublicPostPackageSubscriberCommand( IPackageSubscriberRepository packageSubscriberRepository, IPaidPackageRepository paidPackageRepository, IMapper <Models.PackageSubscriber, PackageSubscriber> packageSubscriberToPackageSubscriberMapper, IMapper <SavePackageSubscriber, Models.PackageSubscriber> savePackageSubscriberToPackageSubscriberMapper) { _packageSubscriberRepository = packageSubscriberRepository; _paidPackageRepository = paidPackageRepository; _packageSubscriberToPackageSubscriberMapper = packageSubscriberToPackageSubscriberMapper; _savePackageSubscriberToPackageSubscriberMapper = savePackageSubscriberToPackageSubscriberMapper; }
public DeletePackageSubscriberCommand(IPackageSubscriberRepository packageSubscriberRepository) { _packageSubscriberRepository = packageSubscriberRepository; }