public ResidentContactApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase,
                                     ICreateContactDetailsUseCase createContactDetails, IInsertResidentRecordUseCase insertResidentRecordUseCase, IInsertExternalReferenceRecordUseCase insertExternalReferenceRecordUseCase)
 {
     _getAllUseCase                        = getAllUseCase;
     _getByIdUseCase                       = getByIdUseCase;
     _createContactDetails                 = createContactDetails;
     _insertResidentRecordUseCase          = insertResidentRecordUseCase;
     _insertExternalReferenceRecordUseCase = insertExternalReferenceRecordUseCase;
 }
Пример #2
0
 public PersonApiController(IGetByIdUseCase getByIdUseCase, IPostNewPersonUseCase newPersonUseCase,
     IUpdatePersonUseCase updatePersonUseCase, ITokenFactory tokenFactory, IHttpContextWrapper contextWrapper,
     IResponseFactory responseFactory)
 {
     _getByIdUseCase = getByIdUseCase;
     _newPersonUseCase = newPersonUseCase;
     _updatePersonUseCase = updatePersonUseCase;
     _tokenFactory = tokenFactory;
     _contextWrapper = contextWrapper;
     _responseFactory = responseFactory;
 }
Пример #3
0
 public ProductsController(
     IGetAllUseCase getAllUseCase,
     IGetByIdUseCase getByIdUseCase,
     ICreateUseCase createUseCase,
     IUpdateUseCase updateUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
     _createUseCase  = createUseCase;
     _updateUseCase  = updateUseCase;
 }
Пример #4
0
 public ChargeApiController(
     IGetAllUseCase getAllUseCase,
     IGetByIdUseCase getByIdUseCase,
     IAddUseCase addUseCase,
     IRemoveUseCase removeUseCase,
     IUpdateUseCase updateUseCase
     )
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
     _addUseCase     = addUseCase;
     _removeUseCase  = removeUseCase;
     _updateUseCase  = updateUseCase;
 }
Пример #5
0
 public BaseApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
 }
Пример #6
0
 public AssetsInformationApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
 }
Пример #7
0
 public SimpleEntitiesController(IGetByIdUseCase useCase, GetByIdOutputHandler presenter)
 {
     _useCase   = useCase;
     _presenter = presenter;
 }