public MacroPointService(ApplicationServicesSetup appServicesSetup) { _appServicesSetup = appServicesSetup; _appServices = new ApplicationServices(_appServicesSetup); MacroPointID = _appServices.ApplicationSettings["MacroPointID"]; MacroPointPassword = _appServices.ApplicationSettings["MacroPointPassword"]; }
protected override void Dispose(bool disposing) { _applicationServices = null; _applicationServicesSetup = null; _user = null; base.Dispose(disposing); }
public BaseBusiness(ApplicationServicesSetup appServicesSetup, AspNetUser user) { _appServicesSetup = appServicesSetup; _appServices = new ApplicationServices(appServicesSetup); _repository.LazyLoading = appServicesSetup.LazyLoading; _repository.ProxyCreationEnabled = appServicesSetup.ProxyCreationEnabled; ValidationErrors = new List <string>(); _user = user; }
public DashboardBusiness(ApplicationServicesSetup appServicesSetup, AspNetUser user) { _user = user; _appServices = new ApplicationServices(appServicesSetup); _db = new ATGV3Entities(); }