public ProviderPetProfilesVRecordsController(IMedicalProfileService profileService, IPersonProfileService customerService, IPetService petService, IProviderService providerService, IVaccinationRecordService vaccinationRecordService, IMapper mapper)
 {
     _profileService           = profileService;
     _customerService          = customerService;
     _petService               = petService;
     _providerService          = providerService;
     _vaccinationRecordService = vaccinationRecordService;
     _mapper = mapper;
 }
        public MedicalProfileController(IProviderService providerService, IPetService petService, IPersonProfileService customerService, IMedicalProfileService medicalprofileService, IMedicalRecordService medicalrecordService, IMapper mapper)
        {
            _medicalprofileService = medicalprofileService;
            _medicalrecordService  = medicalrecordService;
            _customerService       = customerService;
            _petService            = petService;
            _providerService       = providerService;

            _mapper = mapper;
        }
        public void GetAllProfiles_ReturnsAllProfiles_ViaSoapService()
        {
            var binding  = new BasicHttpBinding();
            var endpoint = new EndpointAddress(new Uri(WSDLUrl));
            ChannelFactory <IPersonProfileService> channelFactory = new ChannelFactory <IPersonProfileService>(binding, endpoint);
            IPersonProfileService serviceClient = channelFactory.CreateChannel();
            var allProfiles = serviceClient.GetAllProfiles();

            Assert.NotNull(allProfiles);
            Assert.Equal(3, allProfiles.Count());
        }
Example #4
0
 public PersonController(IPersonProfileService personService)
 {
     _personService = personService;
 }
 public PeopleAccountsController(IPersonProfileService customerService, IMapper mapper)
 {
     _customerService = customerService;
     _mapper          = mapper;
 }
Example #6
0
 public SecondContactsController(IPersonProfileService personService)
 {
     _personService = personService;
 }
Example #7
0
 public PetsController(IPersonProfileService personService, IPetService petService, IMapper mapper)
 {
     _petService    = petService;
     _mapper        = mapper;
     _personService = personService;
 }
 public BarangayController(IBarangayProfile brgyprofile, IPersonProfileService personprofile)
 {
     _brgyprofile   = brgyprofile;
     _personprofile = personprofile;
 }