public ManageServicesController( IServicesService servicesService, IServiceActiveTimeService serviecActiveTimeService, IAdService adService) { _servicesService = servicesService; _adService = adService; _prepearingModelHelper = new PrepearingModelHelper(null); _serviecActiveTimeService = serviecActiveTimeService; }
public ManagePurchasesController( UserManager <ApplicationUser> userManager, IPurchasesService purchasesService, IServicesService servicesService, IServiceActiveTimeService serviecActiveTimeService) { _userManager = userManager; _purchasesService = purchasesService; _servicesService = servicesService; _serviecActiveTimeService = serviecActiveTimeService; }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _userManager = null; _purchasesService = null; _servicesService = null; _serviecActiveTimeService = null; } this.disposed = true; } }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _adService = null; _prepearingModelHelper = null; _servicesService = null; _serviecActiveTimeService = null; } this.disposed = true; } }