Example #1
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 #2
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;
 }