Exemplo n.º 1
0
        private SingInVM()
        {
            OpenHomePage          = new SingInCommand(singIn_btn_click);
            OpenServerSettigns    = new SingInCommand(openServerSetting);
            singInButton          = () => { };
            ColorOfMainStackPanel = Brushes.White;

            #region Need to delete in release, just for debug
            Login    = "******";
            Password = "******";
            #endregion //Need to delete in release, just for debug
        }
Exemplo n.º 2
0
 public async Task <IActionResult> SignIn([FromBody] SingInCommand command)
 => Ok(await _userService.SignIn(command.Email, command.Password));