Example #1
0
 public ArticleController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                          iPow.Application.jq.Service.IArticleService article,
                          iPow.Domain.Repository.IArticleCommRepository articleComm)
     : base(work)
 {
     if (article == null)
     {
         throw new ArgumentNullException("articleService is null");
     }
     if (articleComm == null)
     {
         throw new ArgumentNullException("articleCommRepository is null");
     }
     articleService        = article;
     articleCommRepository = articleComm;
 }
Example #2
0
 public ArticleController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Application.jq.Service.IArticleService article,
     iPow.Domain.Repository.IArticleCommRepository articleComm)
     : base(work)
 {
     if (article == null)
     {
         throw new ArgumentNullException("articleService is null");
     }
     if (articleComm == null)
     {
         throw new ArgumentNullException("articleCommRepository is null");
     }
     articleService = article;
     articleCommRepository = articleComm;
 }
Example #3
0
 public SightOtherController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Application.jq.Service.ITicketService ipowTicket,
     iPow.Application.jq.Service.IPicInfoService ipowPicInfo,
     iPow.Application.jq.Service.IArticleService ipowArticle)
     : base(work)
 {
     if (ipowTicket == null)
     {
         throw new ArgumentNullException("ticketService is null");
     }
     if (ipowPicInfo == null)
     {
         throw new ArgumentNullException("picInfoService is null");
     }
     if (ipowArticle == null)
     {
         throw new ArgumentNullException("articleService is null");
     }
     ticketService = ipowTicket;
     picInfoService = ipowPicInfo;
     articleService = ipowArticle;
 }
Example #4
0
 public SightOtherController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                             iPow.Application.jq.Service.ITicketService ipowTicket,
                             iPow.Application.jq.Service.IPicInfoService ipowPicInfo,
                             iPow.Application.jq.Service.IArticleService ipowArticle)
     : base(work)
 {
     if (ipowTicket == null)
     {
         throw new ArgumentNullException("ticketService is null");
     }
     if (ipowPicInfo == null)
     {
         throw new ArgumentNullException("picInfoService is null");
     }
     if (ipowArticle == null)
     {
         throw new ArgumentNullException("articleService is null");
     }
     ticketService  = ipowTicket;
     picInfoService = ipowPicInfo;
     articleService = ipowArticle;
 }