public void UpdateCustomerData(CorporateCustomerEditModel model, OrganizationRoleUser createdByOrgRoleUser, Customer customer, ILogger logger)
        {
            var eventCustomers = _eventCustomerRepository.GetEventCustomerForFurtureEventsByCustomerId(customer.CustomerId);

            UpdateCustomerCurrentMedication(model, createdByOrgRoleUser, customer, eventCustomers);
            UpdateCustomerPrimaryCarePhysician(model, createdByOrgRoleUser, customer, eventCustomers);
            UpdateCustomerIcdCodes(model, createdByOrgRoleUser, customer, eventCustomers);
            SaveCustomerPredictedZip(customer.CustomerId, model.PredictedZip);

            //UpateCustomerPreApprovedTest(model, createdByOrgRoleUser.Id, customer.CustomerId);
            //UpdateCustomerPreApprovedPackges(model, createdByOrgRoleUser.Id, customer.CustomerId);
            //UpdateCustomerPreApprovedForFutureEvents(eventCustomers, model);

            //if (model.MemberUploadSourceId == null)
            //    UpateCustomerRequiredTest(model, createdByOrgRoleUser, customer);

            UpdateCustomerTargeted(model, createdByOrgRoleUser, customer);
            UpdateCustomerEligibility(model, createdByOrgRoleUser, customer, logger);
            UpdateCustomerWarmTransfer(model, createdByOrgRoleUser, customer, logger);

            UpdateCallQueueCustomerProductType(model, customer, logger);
        }
예제 #2
0
 public IEnumerable <EventCustomer> GetFutureEventCustomers(long customerId, bool isTodayIncluded = true)
 {
     return(_eventCustomerRepository.GetEventCustomerForFurtureEventsByCustomerId(customerId, isTodayIncluded));
 }