public void AuthenticateUser(string username, string password, string Imei) { try { _service.AuthenticateUser(Imei, _loggedInId, Environment.MachineName, username); _service.GetPasswordHash(username); } catch (Exception ex) { _view.ShowMessage("Error", $"Error in Authenticating User:{ex.Message}", true); } }