コード例 #1
0
 public HistoricalAccountsController(
     IHistoricalCrudController <Account> controller,
     IHistoricalCrudRestoreController <Account> restoreController)
 {
     _controller        = controller;
     _restoreController = restoreController;
 }
コード例 #2
0
 public SharesController(
     IHistoricalCrudController <Guid, Share> controller,
     ICrudRepository repository,
     IUserInfoRepository userInfoReposiory)
 {
     _controller        = controller;
     _repository        = repository;
     _userInfoReposiory = userInfoReposiory;
 }
コード例 #3
0
 public BlogPostsController(
     IHistoricalCrudController <Guid, BlogPostDto> controller,
     ICrudRepository repository,
     IUserInfoRepository userInfoReposiory)
 {
     _controller        = controller;
     _repository        = repository;
     _userInfoReposiory = userInfoReposiory;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HistoricalCrudAsyncController{T}"/> class.
 /// </summary>
 /// <param name="historicalCrudService">The historical crud service.</param>
 public HistoricalCrudController(IHistoricalCrudController <Guid, T> controller)
 {
     _controller = controller;
 }
コード例 #5
0
 public AccountsController(IHistoricalCrudController <AccountDto> controller)
 {
     _controller = controller;
 }
コード例 #6
0
 public AccountsEntityController(IHistoricalCrudController <Account> controller)
 {
     _controller = controller;
 }