Example #1
0
        public async Task <PageResponse <LastWeeklyChartList> > GetWeeklyChartListAsync(string username)
        {
            var command = new GetWeeklyChartListCommand(auth: Auth, username: username)
            {
                HttpClient = HttpClient
            };

            return(await command.ExecuteAsync());
        }
Example #2
0
        public void TestInitialise()
        {
            _mockAuth = new Mock <ILastAuth>();
            _command  = new GetWeeklyChartListCommand(_mockAuth.Object, user)
            {
                //no parameters
            };

            _command.SetParameters();
        }