public async Task <AdminDashboardDetails> Get(AdminDashboardRequest request) { if (request == null) { throw new ArgumentNullException(nameof(request)); } return(await _adminProvider.GetAdminDashboardAsync(request) .ConfigureAwait(false)); }
public async Task <AdminDashboardDetails> GetAdminDashboardAsync(AdminDashboardRequest request) { return(await _adminDataAccess.GetAdminDashboardAsync() .ConfigureAwait(false)); }
public AdminDashboardDetails GetDashboardDetails() { var request = new AdminDashboardRequest(); return(_findMyPetClient.JsonClient().Get(request)); }