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 }
public async Task <IActionResult> SignIn([FromBody] SingInCommand command) => Ok(await _userService.SignIn(command.Email, command.Password));