public async Task AuthTest(EAuthResponse response)
        {
            _requestMock.Setup(f => f.Authorize("", ""))
            .Returns(Task.FromResult(response));

            var resp = await _interactor.Authorize("", "");

            Assert.AreEqual(response, resp);
            _requestMock.Verify(f => f.Authorize("", ""), Times.Once);
        }
        public async Task Authorize(string login, string pass)
        {
            if (!IsLoginValid(login))
            {
                _view.ShowMessage(EAuthResponse.WrongEmail);
                return;
            }
            var res = await _interactor.Authorize(login, pass);

            if (res == EAuthResponse.Success)
            {
                _router.GoToMainPage();
            }
            else
            {
                _view.ShowMessage(res);
            }
        }