Beispiel #1
0
        public IActionResult Login(LoginViewModel users)
        {
            IDataSource jsonData = new JsonDataSource();

            _userData               = new UserData();
            _userData.DataSource    = jsonData;
            _userData.UserViewModel = users;

            var checkLogin = _userData.CheckLoginUser();

            return(View());
        }