예제 #1
0
 /// <summary>
 ///     Create new instance.
 /// </summary>
 public PostVlogBackgroundTask(IVlogService vlogService)
 => _vlogService = vlogService ?? throw new ArgumentNullException(nameof(vlogService));
예제 #2
0
 /// <summary>
 ///     Create new instance.
 /// </summary>
 public VlogController(IVlogService vlogService,
                       IMapper mapper)
 {
     _vlogService = vlogService ?? throw new ArgumentNullException(nameof(vlogService));
     _mapper      = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }