Ejemplo n.º 1
0
        public EditUserController(Users data, ComboBox role, TextBox nameTextbox, MaskedTextBox phone)
        {
            _role        = role;
            _nameTextbox = nameTextbox;
            _phone       = phone;
            _data        = data;

            _services = new RolesServices(SqlConnectionToDataBase.ConnectionString());
        }
 public MainViewController(DataGridView usersDataGridView)
 {
     _usersDataGridView = usersDataGridView;
     _services          = new UsersServices(SqlConnectionToDataBase.ConnectionString());
 }