public PicController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Application.jq.Service.IPicInfoService ipowPicInfo, iPow.Domain.Repository.IPicCommRepository picComm) : base(work) { if (ipowPicInfo == null) { throw new ArgumentNullException("picInfoService is null"); } if (picComm == null) { throw new ArgumentNullException("picInfoRepository is null"); } picInfoService = ipowPicInfo; picCommRepository = picComm; }
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; }