public CustomerController( IGetListCustomerQuery getListCustomerQuery, ISaveCustomerCommand saveCustomerCommand, IExportListCustomerQuery exportListCustomerQuery, IGetListAddressByUserIdQuery getListAddressByuserIdQuery) { _getListCustomerQuery = getListCustomerQuery; _saveCustomerCommand = saveCustomerCommand; _exportListCustomerQuery = exportListCustomerQuery; _getListAddressByuserIdQuery = getListAddressByuserIdQuery; }
public AccountController( IOptionsSnapshot <JwtOptions> jwtConfiguration, ISaveCustomerCommand saveCustomerCommand, IGetUserByAccountQuery getUserByAccountQuery, IChangePasswordCommand changePasswordCommand, IGetCustomerInfoFromAccessTokenQuery getCustomerInfoFromAccessTokenQuery, IGetCustomerByAccountQuery getCustomerByAccountQuery) { _jwtConfiguration = jwtConfiguration; _saveCustomerCommand = saveCustomerCommand; _getUserByAccountQuery = getUserByAccountQuery; _changePasswordCommand = changePasswordCommand; _getCustomerInfoFromAccessTokenQuery = getCustomerInfoFromAccessTokenQuery; _getCustomerByAccountQuery = getCustomerByAccountQuery; }