public AssetTypesController() { AssetzModel context = new AssetzModel(); this.uowFactory = new EntityFrameworkUnitOfWorkFactory(context); this.repository = new EntityFrameworkRepository <AssetType>(context); }
public UsersController() { AssetzModel context = new AssetzModel(); this.uowFactory = new EntityFrameworkUnitOfWorkFactory(context); this.repository = new EntityFrameworkRepository <User>(context); this.AccountRepository = new EntityFrameworkRepository <Account>(context); }
public VerificationEntriesController() { AssetzModel context = new AssetzModel(); this.uowFactory = new EntityFrameworkUnitOfWorkFactory(context); this.repository = new EntityFrameworkRepository <VerificationEntry>(context); this.AssetRepository = new EntityFrameworkRepository <Asset>(context); }