public ClientsList() { _clientRepository = new ClientServiceViewModel(); InitializeComponent(); this.DataGridClients.Items.Clear(); this.DataBindingClients(); }
public Clients() { InitializeComponent(); _clientRepository = new ClientServiceViewModel(); _photoRepository = new PhotoService(); CleanControls(); _fileName = string.Empty; this.EventsSource(); }
public ClientsDetails(int idClient) { _clientRepository = new ClientServiceViewModel(); _photoRepository = new PhotoService(); InitializeComponent(); GetClientDetails(idClient); _clientId = idClient; this.EventsSource(); }
public ClientsEdit(int idClient) { _clientRepository = new ClientServiceViewModel(); _photoRepository = new PhotoService(); InitializeComponent(); _idClient = idClient; this.Loaded += (e, o) => this.AbrirVentana(_idClient); this.EventsSource(); }
public ClientsDelete(int clientId) { _clientRepository = new ClientServiceViewModel(); _sessionRepository = new SessionGymServiceViewModel(); _photoRepository = new PhotoService(); InitializeComponent(); _clientId = clientId; GetClientDelete(_clientId); this.EventsSource(); }