public MemberSummaryViewModel()
 {
     SubscriberInquiries = new SubscribersInquiriesDto();
     SubscriberRequests = new List<SubscribersRequestDto>();
     SubscriberQuotes = new MemberQuotesViewModel();
     SubscribersExt = new List<SubscribersDto>();
 }
 public CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto GetMemberInquiries(GetSubscribersInput input)
 {
     CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto results = new CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto();
     return (CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto)_creditsHeroConnect.CallCreditsHeroService<SubscribersInquiriesDto>(results, input,
         "api/services/app/Subscriber/GetSubscribersInquiries");
 }
 public MemberRequestViewModel()
 {
     SubscriberInquiries = new SubscribersInquiriesDto();
     SubscriberRequests = new List<SubscribersRequestDto>();
 }
Пример #4
0
 public CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto GetCustomerInquiries(GetSubscribersInput input)
 {
     CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto results = new CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto();
     return((CreditsHero.Subscribers.Dtos.SubscribersInquiriesDto)_creditsHeroConnect.CallCreditsHeroService <SubscribersInquiriesDto>(results, input,
                                                                                                                                       "api/services/app/Subscriber/GetSubscribersInquiries"));
 }
        public Dtos.SubscribersInquiriesDto GetSubscribersInquiries(Dtos.GetSubscribersInput input)
        {
            var subscriberInquiries = _inquiryExtRepository.GetSubscriberInquiries(input.SubscribersId.Value);
            Dtos.SubscribersInquiriesDto results = new Dtos.SubscribersInquiriesDto();
            results.SubscriberInquiryList = new List<Dtos.SubscribersInquiryDto>();

            foreach (SubscriberInquiries item in subscriberInquiries)   
                results.SubscriberInquiryList.Add(new Dtos.SubscribersInquiryDto
                {
                    CreationTime = item.CreationTime, //item.InquiryExt.CreationTime, //((Abp.Domain.Entities.Auditing.CreationAuditedEntity<int>)(item.InquiryExt)).CreationTime, //item.CreationTime,
                    CriteriaName = item.CriteriaName, //item.InquiryExt.Criteria.Name, //item.CriteriaName,
                    CriteriaRefId = item.CriteriaRefId, //item.InquiryExt.CriteriaRefId, //item.CriteriaRefId,
                    CriteriaValueName = item.CriteriaValueName, //item.SubscriberCriteria.CriteriaValues.Name, //item.CriteriaValueName,
                    CriteriaValuesRefId = item.CriteriaValuesRefId, //item.SubscriberCriteria.CriteriaValuesRefId, //item.CriteriaValuesRefId,
                    //Id = item.SubscriberId, //item.SubscriberCriteria.SubscriberRefId, //item.Id,
                    InquiryExtId = item.InquiryExtId //item.InquiryExt.InquiryRefId //item.InquiryExtId
                });

            return results;
        }