private DataService GetDataService() { DataService _dataService = (DataService)HttpContext.Current.Items["DataService"]; if (_dataService == null) { _dataService = new DataService(); HttpContext.Current.Items["DataService"] = _dataService; } return _dataService; }
public AuthorizationManager(DataService MotorlamDataService) { this.DataService = MotorlamDataService; }