Пример #1
0
 public Template1Mutations(Template1Context context, IEventService template1EventService, IMapper mapper, IAuthorizationService authorizationService) : base(authorizationService)
 {
     _context      = context ?? throw new ArgumentNullException(nameof(context));;
     _eventService = template1EventService ?? throw new ArgumentNullException(nameof(template1EventService));
     _mapper       = mapper;
 }
Пример #2
0
 public Template1Queries(Template1Context context)
 {
     _context = context;
 }