public AvatarController(ILogger <AvatarController> logger, IAvatarContext ctx, IGuestContext guestContext, IMapper mapper, IHttpContextAccessor httpContextAccessor, IConfiguration config) { _config = config; _httpContextAccessor = httpContextAccessor ?? throw new ArgumentException(nameof(httpContextAccessor)); _ctx = ctx ?? throw new ArgumentException(nameof(ctx)); _guestContext = guestContext ?? throw new ArgumentNullException(nameof(guestContext)); _mapper = mapper ?? throw new ArgumentException(nameof(mapper)); _logger = logger ?? throw new ArgumentException(nameof(logger)); }
public UnregisteredController(IGuestContext ctx, ILogger <UnregisteredController> logger, IMapper mapper) { _mapper = mapper; _logger = logger; _ctx = ctx; }
public GuestLogic(IGuestContext context) { _context = context; }
public MaterialLogic(IMaterialContext context) { _contextGuest = new GuestOracleContext(); _contextMaterial = context; _contextMaterialType = new MaterialTypeOracleContext(); }
public MaterialLogic() { _contextGuest = new GuestOracleContext(); _contextMaterial = new MaterialOracleContext(); _contextMaterialType = new MaterialTypeOracleContext(); }
public GuestController(ILogger <GuestEntity> logger, IGuestContext ctx, IMapper mapper) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _ctx = ctx ?? throw new ArgumentNullException(nameof(ctx)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }