public ResidentContactApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase,
                                     ICreateContactDetailsUseCase createContactDetails, IInsertResidentRecordUseCase insertResidentRecordUseCase, IInsertExternalReferenceRecordUseCase insertExternalReferenceRecordUseCase)
 {
     _getAllUseCase                        = getAllUseCase;
     _getByIdUseCase                       = getByIdUseCase;
     _createContactDetails                 = createContactDetails;
     _insertResidentRecordUseCase          = insertResidentRecordUseCase;
     _insertExternalReferenceRecordUseCase = insertExternalReferenceRecordUseCase;
 }
Example #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;
 }
Example #3
0
 public ProductsController(
     IGetAllUseCase getAllUseCase,
     IGetByIdUseCase getByIdUseCase,
     ICreateUseCase createUseCase,
     IUpdateUseCase updateUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
     _createUseCase  = createUseCase;
     _updateUseCase  = updateUseCase;
 }
 public ChargeApiController(
     IGetAllUseCase getAllUseCase,
     IGetByIdUseCase getByIdUseCase,
     IAddUseCase addUseCase,
     IRemoveUseCase removeUseCase,
     IUpdateUseCase updateUseCase
     )
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
     _addUseCase     = addUseCase;
     _removeUseCase  = removeUseCase;
     _updateUseCase  = updateUseCase;
 }
 public BaseApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
 }
Example #6
0
 public AssetsInformationApiController(IGetAllUseCase getAllUseCase, IGetByIdUseCase getByIdUseCase)
 {
     _getAllUseCase  = getAllUseCase;
     _getByIdUseCase = getByIdUseCase;
 }
Example #7
0
 public SimpleEntitiesController(IGetByIdUseCase useCase, GetByIdOutputHandler presenter)
 {
     _useCase   = useCase;
     _presenter = presenter;
 }