public PropertiesModelBuilder(IWorkplaceContext context) { this.context = context; this.landRegistryModelBuilder = new LandRegistryModelBuilder(); this.fileRepo = ObjectFactory.GetInstance <NHibernateRepositoryBase <MP_AlertDocument> >(); this.serviceClient = new ServiceClient(); }
//----------------------------------------------------------------------------------- public AlertDocsController(IEzbobWorkplaceContext context, NHibernateRepositoryBase <MP_AlertDocument> docRepo) { _context = context; _docRepo = docRepo; }