Exemple #1
0
        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));
 }
Exemple #3
0
        public AdminDashboardDetails GetDashboardDetails()
        {
            var request = new AdminDashboardRequest();

            return(_findMyPetClient.JsonClient().Get(request));
        }