コード例 #1
0
        public AuthenticatedViewModel Login([FromBody] LoginUICommand command)
        {
            return(Execute(() =>
            {
                var authenticatedViewModel = _userLogic.Login(command.Email, command.Password);

                return authenticatedViewModel;
            }));
        }
コード例 #2
0
        public AuthenticatedViewModel Login([FromBody] LoginUICommand command)
        {
            var authenticatedViewModel = _systemUserLogic.Login(command.Email, command.Password);

            return(authenticatedViewModel);
        }