import { Injectable } from '@angular/core';
import { AppApiService } from './base-service/app-api.service';
import { StateService } from './state.service';
import { environment } from 'src/environments/environment';

@Injectable({
  providedIn: 'root'
})
export class DashboardService {
  _dashboard_url: string = environment.app_api_base_url + '/Dashboard';
  constructor(private apiservice: AppApiService, private stateService:StateService) { }

  getCounts() {
    return this.apiservice.loadItems(this._dashboard_url);
  }
}
