public VideoCommService( iPow.Domain.Repository.IVideoCommRepository videoComm) { if (videoComm == null) { throw new ArgumentNullException(" videoCommRepository is null"); } videoCommRepository = videoComm; }
public VideoCommService(iPow.Domain.Repository.IVideoCommRepository videoComm) { if (videoComm == null) { throw new ArgumentNullException(" videoCommRepository is null"); } videoCommRepository = videoComm; }
/// <summary> /// Initializes a new instance of the <see cref="VideoInfoService"/> class. /// </summary> /// <param name="videoInfo">The video info.</param> /// <param name="videoComm">The video comm.</param> public VideoInfoService(iPow.Domain.Repository.IVideoInfoRepository videoInfo, iPow.Domain.Repository.IVideoCommRepository videoComm) { if (videoInfo == null) { throw new ArgumentNullException("videoinforepository is null"); } if (videoComm == null) { throw new ArgumentNullException("videocommrepository is null"); } videoInfoRepository = videoInfo; videoCommRepository = videoComm; }