Ejemplo n.º 1
0
        public OwnerMainMenu()
        {
            InitializeComponent();

            ownerApi       = new OwnerApiClient();
            appointmentApi = new AppointmentApiClient();
            hairSalonApi   = new HairSalonApiClient();
        }
 public TeslaMeasurementServiceImpl(OwnerApiClient client, OwnerApiAuthenticationService authService,
                                    ProductService productService, DateTimeZone reportTimeZone)
 {
     this.client         = client;
     this.authService    = authService;
     this.productService = productService;
     this.reportTimeZone = reportTimeZone;
 }
Ejemplo n.º 3
0
        public RegisterOwner()
        {
            InitializeComponent();

            ls = new LoadingScreen();

            subscriptionApi = new SubscriptionApiClient();
            ownerApi        = new OwnerApiClient();
        }
Ejemplo n.º 4
0
        public OwnerPanel(Owner owner)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            ownerApi = new OwnerApiClient();

            this.owner = owner;

            SetOwnerValues();
        }
Ejemplo n.º 5
0
        public Login(User user)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            adminApi  = new AdminApiClient();
            ownerApi  = new OwnerApiClient();
            workerApi = new WorkerApiClient();

            this.user = user;
        }
Ejemplo n.º 6
0
        public EditOwner(Owner owner)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            subscriptionApi = new SubscriptionApiClient();
            ownerApi        = new OwnerApiClient();

            this.owner = owner;

            SetOwnerValues();
        }
Ejemplo n.º 7
0
        public ShowHairSalon(HairSalon hairSalon)
        {
            InitializeComponent();

            ownerApi = new OwnerApiClient();
            hairSalonMethodsOfPaymentApi = new HairSalonMethodsOfPaymentApiClient();
            hairSalonWorkingHoursApi     = new HairSalonWorkingHoursApiClient();
            workerApi            = new WorkerApiClient();
            hairSalonServicesApi = new HairSalonServicesApiClient();

            this.hairSalon = hairSalon;

            SetHairSalonValues();
        }
Ejemplo n.º 8
0
        public OwnerManagement()
        {
            InitializeComponent();

            ownersApi = new OwnerApiClient();
        }
Ejemplo n.º 9
0
 public ProductServiceImpl(OwnerApiClient client)
 {
     this.client = client;
 }
 public OwnerApiAuthenticationServiceImpl(OwnerApiClient client)
 {
     this.client = client;
 }