Exemplo n.º 1
0
 /// <summary>
 ///     Create new instance.
 /// </summary>
 public PostVlogBackgroundTask(IVlogService vlogService)
 => _vlogService = vlogService ?? throw new ArgumentNullException(nameof(vlogService));
Exemplo n.º 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));
 }