Example #1
0
        public DeclarationEmployeurController(IAnnexeService <TL, TP> annexeService)
        {
            if (annexeService == null)
            {
                throw new ArgumentNullException(nameof(annexeService));
            }

            _annexeService = annexeService;
        }
Example #2
0
 public AnnexeController(IAnnexeService service, IMapper mapper)
 {
     this.service = service ?? throw new ArgumentNullException(nameof(service));
     this.mapper  = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }