Beispiel #1
0
        public EditProfileViewModel(INavigationService navigationService,
                                    IUserService userService,
                                    IMediaPickerService mediaPickerService,
                                    ITestimonialsService testimonialsService) : base(navigationService)
        {
            this.userService         = userService;
            this.mediaPickerService  = mediaPickerService;
            this.testimonialsService = testimonialsService;

            SetTabs();

            Title = "Profile Edit";

            TabChangedCommand     = new Command(TabSelectedCommandExecute);
            SelectTopSkillCommand = new Command(SelectTopSkillCommandExecute);

            AddEducationCommand         = new Command(AddEducationCommandExecute);
            AddSkillCommand             = new Command(AddSkillCommandExecute);
            AddNewAccomplishmentCommand = new Command(AddNewAccomplishmentCommandExecute);
            AddConnectedWithCommand     = new Command(AddConnectedWithCommandExecute);
            AddPresentCompanyCommand    = new Command(AddPresentCompanyCommandExecute);
            AddPastCompanyCommand       = new Command(AddPastCompanyCommandExecute);
            AddExperienceCommand        = new Command(AddExperienceCommandExecute);
            AddCertificateCommand       = new Command(AddCertificateCommandExecute);
            ViewProfileCommand          = new Command(ViewProfileCommandExecute);
            ChangePhotoCommand          = new Command(ChangePhotoCommandExecute);
            AddNewTestimonialCommand    = new Command(AddNewTestimonialCommandExecute);
            SaveCommand = new Command(SaveCommandExecute);
            ViewAllTestimonialsCommand = new Command(ViewAllTestimonialsCommandExecute);
            SelectTestimonialCommand   = new Command(SelectTestimonialCommandExecute);

            InitUI();
        }
        public EditTestimonialViewModel(INavigationService navigationService,
                                        ITestimonialsService testimonialsService) : base(navigationService)
        {
            this.testimonialsService = testimonialsService;

            Title = "Edit Testimonial";
        }
Beispiel #3
0
 public TestimonialsController(ITestimonialsService testimonialsService, IPasswordService passwordService)
 {
     _testimonialsService = testimonialsService;
     _passwordService     = passwordService;
 }
 public AdminTestimonialsAPIController(ITestimonialsService TestimonialsService)
 {
     this._TestimonialsService = TestimonialsService;
 }
 public TestimonialsController(ITestimonialsService testimonialsService,
                               ICacheManager cacheManager)
 {
     _testimonialsService = testimonialsService;
     _cacheManager        = cacheManager;
 }
 public TestimonialController(ITestimonialsService service)
 {
     _service = service;
 }