コード例 #1
0
        public void GetAccount_Test()
        {
            // arrange
            var accountId = "e5607305-b63f-4746-ab14-c2cb613b9b8d";

            //act
            var account = _repoAuth.GetAccount(accountId).Result;

            // assert
            Assert.NotNull(account);
        }
コード例 #2
0
 /// <summary>
 /// Get account balance for user
 /// </summary>
 /// <param name="id">Account id</param>
 /// <returns>Accout object array</returns>
 public Account GetAccount(string id)
 {
     return(_repository.GetAccount(id).Result);
 }