Beispiel #1
0
        public UserView Login(UserLoginView user)
        {
            bool isValidLogin = _customerService.CheckLogin(user);

            if (isValidLogin)
            {
                return(_customerService.getUser(user.Email));
            }

            return(null);
        }