コード例 #1
0
 public HistoricalCrudService(
     IHistoricalCrudService <TId, TEntity> service,
     ICrudRepository repository,
     IUserInfoRepository userInfoRepository,
     IMapper mapper,
     IHistoricalCrudReadService <TId, TEntity> historicalCrudReadService)
 {
     _service                   = service;
     _repository                = repository;
     _userInfoRepository        = userInfoRepository;
     _mapper                    = mapper;
     _historicalCrudReadService = historicalCrudReadService;
     AutoCommit                 = false;
 }
コード例 #2
0
 public UsersController(ICrudController <Guid, UserDto> crudController, IHistoricalCrudService <Guid, UserDto> historicalCrudService) : base(crudController, historicalCrudService)
 {
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HistoricalCrudAsyncController{T}"/> class.
 /// </summary>
 /// <param name="historicalCrudService">The historical crud service.</param>
 public HistoricalCrudControllerBase(ICrudController <T1, T2> crudController, IHistoricalCrudService <T1, T2> historicalCrudService)
 {
     _crudController        = crudController;
     _historicalCrudService = historicalCrudService;
 }
コード例 #4
0
 public HistoricalAccountsAsyncController(IHistoricalCrudService <Account> service) : base(service)
 {
 }
コード例 #5
0
 public HistoricalCrudService(IHistoricalCrudService <Guid, T> service)
 {
     _service   = service;
     AutoCommit = false;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HistoricalCrudController{T}"/> class.
 /// </summary>
 /// <param name="historicalCrudService">The historical crud service.</param>
 public HistoricalCrudController(IHistoricalCrudService <T> historicalCrudService) : base(historicalCrudService)
 {
     _historicalCrudService = historicalCrudService;
 }
コード例 #7
0
 public AccountsController(IHistoricalCrudService <Account> service) : base(service)
 {
 }