コード例 #1
0
 public AdminController(IWareRepository repos, IUserRepository userrepos, IOrderRepository orderrepos, IOrderWaresRepository orderWaresRepository)
 {
     this.repos                = repos;
     this.userrepos            = userrepos;
     this.orderrepos           = orderrepos;
     this.orderWaresRepository = orderWaresRepository;
 }
コード例 #2
0
 public WareBookingController(IWareBookingRepository repository, ITimeSlotRepository timeSlotRepository,
                              IWareRepository wareRepository)
 {
     bookingRepository       = repository;
     this.timeSlotRepository = timeSlotRepository;
     this.wareRepository     = wareRepository;
 }
コード例 #3
0
 public GetWaresFromPlaceWithPaging(IWareRepository wareRepository, long placeId, int page, int amount)
 {
     this.wareRepository = wareRepository;
     PlaceId             = placeId;
     Page   = page;
     Amount = amount;
 }
コード例 #4
0
 public CreateWareBooking(IWareBookingRepository wareBookingRepository, ITimeSlotRepository timeSlotRepository,
                          IWareRepository wareRepository, CreateWareBookingInput input)
 {
     this.wareBookingRepository = wareBookingRepository;
     Input = input;
     this.timeSlotRepository = timeSlotRepository;
     this.wareRepository     = wareRepository;
 }
コード例 #5
0
 public CartController(IWareRepository repos, IOrderProcessor orderProcessor, IUserRepository userrepos, IOrderRepository orderrepos, IOrderWaresRepository orwarrepos)
 {
     this.repos          = repos;
     this.orderProcessor = orderProcessor;
     this.userrepos      = userrepos;
     this.orderrepos     = orderrepos;
     this.orwarrepos     = orwarrepos;
 }
コード例 #6
0
 public UpdateWareBooking(IWareBookingRepository wareBookingRepository, ITimeSlotRepository timeSlotRepository,
                          IWareRepository wareRepository, domain.WareBooking wareBooking)
 {
     this.wareBookingRepository = wareBookingRepository;
     this.timeSlotRepository    = timeSlotRepository;
     this.wareRepository        = wareRepository;
     WareBooking = wareBooking;
 }
コード例 #7
0
ファイル: WareService.cs プロジェクト: zolichev/Warehouse
 /// <inheritdoc />
 public WareService(IWareRepository repo, IServiceLocator serviceFactory)
 {
     _keeper = new Keeper(repo, serviceFactory.ClientService.GetNotifiableClients(),
                          serviceFactory.NotificationService);
 }
コード例 #8
0
 public GetWaresWithPaging(IWareRepository wareRepository, int page, int amount)
 {
     this.wareRepository = wareRepository;
     Page   = page;
     Amount = amount;
 }
コード例 #9
0
 public DeleteWare(IWareRepository wareRepository, long id)
 {
     this.wareRepository = wareRepository;
     Id = id;
 }
コード例 #10
0
ファイル: GetWareById.cs プロジェクト: takethispie/cowork
 public GetWareById(IWareRepository wareRepository, long id)
 {
     this.wareRepository = wareRepository;
     Id = id;
 }
コード例 #11
0
ファイル: CreateWare.cs プロジェクト: takethispie/cowork
 public CreateWare(IWareRepository wareRepository, CreateWareInput input)
 {
     this.wareRepository = wareRepository;
     Input = input;
 }
コード例 #12
0
 public GetWaresFromPlace(IWareRepository wareRepository, long placeId)
 {
     this.wareRepository = wareRepository;
     PlaceId             = placeId;
 }
コード例 #13
0
ファイル: UpdateWare.cs プロジェクト: takethispie/cowork
 public UpdateWare(IWareRepository wareRepository, domain.Ware ware)
 {
     this.wareRepository = wareRepository;
     Ware = ware;
 }
コード例 #14
0
 public WareController(IWareRepository repos)
 {
     this.repos = repos;
 }
コード例 #15
0
ファイル: Keeper.cs プロジェクト: zolichev/Warehouse
 public Keeper(IWareRepository repo, IEnumerable <Client> clients, INotificationService notificationService)
 {
     _repo = repo;
     SubscribeClients(clients, notificationService);
 }
コード例 #16
0
ファイル: WareController.cs プロジェクト: takethispie/cowork
 public WareController(IWareRepository wareRepository)
 {
     repository = wareRepository;
 }
コード例 #17
0
 public GetAllWares(IWareRepository wareRepository)
 {
     this.wareRepository = wareRepository;
 }