public PizzaSpecialService(InfraestructureContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public PersonService(IMapper mapper, InfraestructureContext context, ILocalFileStorage localFileStorage) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _context = context ?? throw new ArgumentNullException(nameof(context)); _localFileStorage = localFileStorage ?? throw new ArgumentNullException(nameof(localFileStorage)); }
public ToppingService(InfraestructureContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public GenderService(IMapper mapper, InfraestructureContext context) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _context = context ?? throw new ArgumentNullException(nameof(context)); }