public async Task <PageResponse <LastWeeklyChartList> > GetWeeklyChartListAsync(string username) { var command = new GetWeeklyChartListCommand(auth: Auth, username: username) { HttpClient = HttpClient }; return(await command.ExecuteAsync()); }
public void TestInitialise() { _mockAuth = new Mock <ILastAuth>(); _command = new GetWeeklyChartListCommand(_mockAuth.Object, user) { //no parameters }; _command.SetParameters(); }