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; }
public UsersController(ICrudController <Guid, UserDto> crudController, IHistoricalCrudService <Guid, UserDto> historicalCrudService) : base(crudController, historicalCrudService) { }
/// <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; }
public HistoricalAccountsAsyncController(IHistoricalCrudService <Account> service) : base(service) { }
public HistoricalCrudService(IHistoricalCrudService <Guid, T> service) { _service = service; AutoCommit = false; }
/// <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; }
public AccountsController(IHistoricalCrudService <Account> service) : base(service) { }