public AuthenticatedViewModel Login([FromBody] LoginUICommand command) { return(Execute(() => { var authenticatedViewModel = _userLogic.Login(command.Email, command.Password); return authenticatedViewModel; })); }
public AuthenticatedViewModel Login([FromBody] LoginUICommand command) { var authenticatedViewModel = _systemUserLogic.Login(command.Email, command.Password); return(authenticatedViewModel); }