Exemple #1
0
 public UserService(IUserRepository rep, ISiteRepo siteRepository, IArchiveRepository archiveRep)
 {
     this._userRepository = rep;
     this._userQuery      = new UserQuery();
     this._siteRepository = siteRepository;
     this._archiveRep     = archiveRep;
 }
Exemple #2
0
 internal SiteLink(ISiteRepo siteRep, ISite site, int id, string text)
 {
     this._siteRep = siteRep;
     this._site    = site;
     this.Id       = id;
     this.Text     = text;
 }
Exemple #3
0
 public UserService(IUserRepository rep, ISiteRepo siteRepository, IArchiveRepository archiveRep)
 {
     _userRepository = rep;
     _userQuery      = new UserQuery();
     _siteRepository = siteRepository;
     _archiveRep     = archiveRep;
 }
Exemple #4
0
 internal SiteLink(ISiteRepo siteRep, ISite site, int id, string text)
 {
     _siteRep = siteRep;
     _site    = site;
     Id       = id;
     Text     = text;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="categoryRep"></param>
 /// <param name="extendRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="categoryId"></param>
 /// <param name="site"></param>
 /// <returns></returns>
 public ICategory CreateCategory(
     ICategoryRepo categoryRep,
     ISiteRepo siteRepo,
     IExtendFieldRepository extendRep,
     ITemplateRepo tempRep,
     CmsCategoryEntity value)
 {
     return(new Category(categoryRep, siteRepo, extendRep, tempRep, value));
 }
Exemple #6
0
 internal Category(ICategoryRepo rep, ISiteRepo siteRepo,
     IExtendFieldRepository extendRep, ITemplateRepo tmpRep, 
     CmsCategoryEntity value)
 {
     this.value = value;
     this._repo = rep;
     this._extendRep = extendRep;
     this._tempRep = tmpRep;
     this.siteRepo = siteRepo;
 }
Exemple #7
0
 public ArchiveService(
     IContentRepository contentRep,
     ISiteRepo siteRep,
     ICategoryRepo catRepo,
     IExtendFieldRepository extendRep
     )
 {
     this._contentRep = contentRep;
     this._siteRep    = siteRep;
     this._extendRep  = extendRep;
     this._catRepo    = catRepo;
 }
 public CheckListController(CheckListRepo checkListRepo,
                            icheckcmsContext context,
                            IConducteurRepo conducteurRepo,
                            IVehiculeRepo vehiculeRepo,
                            ISiteRepo siteRepo)
 {
     _checkListRepo  = checkListRepo;
     _conducteurRepo = conducteurRepo;
     _vehiculeRepo   = vehiculeRepo;
     _context        = context;
     _siteRepo       = siteRepo;
 }
Exemple #9
0
 public CheckListController(CheckListRepo checkListRepo,
                            ICheckContext context,
                            IConducteurRepo conducteurRepo,
                            IVehiculeRepo vehiculeRepo,
                            ISiteRepo siteRepo,
                            IHostingEnvironment environment)
 {
     _checkListRepo  = checkListRepo;
     _conducteurRepo = conducteurRepo;
     _vehiculeRepo   = vehiculeRepo;
     _context        = context;
     _siteRepo       = siteRepo;
     _environment    = environment;
 }
Exemple #10
0
 public SiteService(ISiteRepo resp,
                    ICategoryRepo categoryRep,
                    IArchiveRepository archiveRep,
                    IExtendFieldRepository extendFieldPository,
                    IContentRepository contentRep,
                    ITemplateRepo tempRep)
 {
     this.repo         = resp;
     this._extendRep   = extendFieldPository;
     this._categoryRep = categoryRep;
     this._archiveRep  = archiveRep;
     this._contentRep  = contentRep;
     this._tempRep     = tempRep;
 }
Exemple #11
0
 internal Site(ISiteRepo siteRepository,
               IExtendFieldRepository extendRepository,
               ICategoryRepo categoryRep,
               ITemplateRepo tempRep,
               IUserRepository userRep,
               CmsSiteEntity site)
 {
     this.value             = site;
     this._siteRepository   = siteRepository;
     this._categoryRep      = categoryRep;
     this._extendRepository = extendRepository;
     this._tempRep          = tempRep;
     this._userRep          = userRep;
 }
Exemple #12
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="resp"></param>
 /// <param name="extendRepository"></param>
 /// <param name="categoryRep"></param>
 /// <param name="tempRep"></param>
 /// <param name="siteId"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public ISite CreateSite(
     ISiteRepo resp,
     IExtendFieldRepository extendRepository,
     ICategoryRepo categoryRep,
     ITemplateRepo tempRep,
     IUserRepository userRep,
     CmsSiteEntity site
     )
 {
     return(new Site(resp,
                     extendRepository,
                     categoryRep,
                     tempRep,
                     userRep,
                     site));
 }
Exemple #13
0
 public ContentService(IContentRepository contentRep, ISiteRepo siteRep)
 {
     this._contentRep = contentRep;
     this._siteRep    = siteRep;
 }
Exemple #14
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="resp"></param>
 /// <param name="site"></param>
 /// <param name="id"></param>
 /// <param name="text"></param>
 /// <returns></returns>
 public ISiteLink CreateLink(ISiteRepo resp, ISite site, int id, string text)
 {
     return(new Link.SiteLink(resp, site, id, text));
 }
Exemple #15
0
 public SiteTest()
 {
     siteRepo = Ioc.GetInstance <ISiteRepo>();
 }
Exemple #16
0
 public ContentService(IContentRepository contentRep, ISiteRepo siteRep)
 {
     _contentRep = contentRep;
     _siteRep    = siteRep;
 }
Exemple #17
0
 public CategoryTest()
 {
     repo     = Ioc.GetInstance <ICategoryRepo>();
     siteRepo = Ioc.GetInstance <ISiteRepo>();
 }
Exemple #18
0
 public SiteLinkManager(ISiteRepo siteRep, ISite site)
 {
     this._siteRep = siteRep;
     this._site    = site;
 }
Exemple #19
0
 public SiteLinkManager(ISiteRepo siteRep, ISite site)
 {
     _siteRep = siteRep;
     _site    = site;
 }