public string Login() { var number = hardware.GetCardNumber(); account = remoteService.FindAccount(number); return(account != null ? SuccessLoginMessage : InvalidLoginMessage); }