예제 #1
0
 public AppService(ICreateCommandService <TEntity, TEntityDto> createCommandService,
                   IQueryService <TEntity, TEntityDto> queryService, IUpdateCommandService <TEntity, TEntityDto> updateCommandService,
                   IDeleteCommandService <TEntity, TEntityDto> deleteCommandService)
 {
     _createCommandService = createCommandService ?? throw new ArgumentNullException(nameof(createCommandService));
     _queryService         = queryService ?? throw new ArgumentNullException(nameof(queryService));
     _updateCommandService = updateCommandService;
     _deleteCommandService = deleteCommandService;
 }
 public GraphicCardAppService(ICreateCommandService <GraphicCard, GraphicCardDto> createCommandService,
                              IQueryService <GraphicCard, GraphicCardDto> queryService, IUpdateCommandService <GraphicCard, GraphicCardDto> updateCommandService,
                              IDeleteCommandService <GraphicCard, GraphicCardDto> deleteCommandService)
     : base(createCommandService, queryService, updateCommandService, deleteCommandService)
 {
 }
예제 #3
0
 public VendorAppService(ICreateCommandService <Vendor, VendorDto> createCommandService, IQueryService <Vendor, VendorDto> queryService,
                         IUpdateCommandService <Vendor, VendorDto> updateCommandService, IDeleteCommandService <Vendor, VendorDto> deleteCommandService)
     : base(createCommandService, queryService, updateCommandService, deleteCommandService)
 {
 }