示例#1
0
        public async Task <IEnumerable <Product> > GetProducts()
        {
            await UserActionProvider.LogUserAction($"El cliente {AuthProvider.CurrentClient.ClientId} obtuvo la lista de productos");

            return(await ProductService.GetProducts(AuthProvider.CurrentClient.ClientId));
        }
示例#2
0
        public async Task <AccountBalance> GetAccountBalance()
        {
            await UserActionProvider.LogUserAction($"El cliente {AuthProvider.CurrentClient.ClientId} pidió un balance de la cuenta");

            return(await AccountService.GetAccountBalance(AuthProvider.CurrentClient.ClientId));
        }