Browse Source
Merge branch 'feature/19315_Customer-Registration-new' of http://202.166.220.79:3000/IME-LONDON/CustomerPortal into feature/19315_Customer-Registration
Merge branch 'feature/19315_Customer-Registration-new' of http://202.166.220.79:3000/IME-LONDON/CustomerPortal into feature/19315_Customer-Registration
# Conflicts: # CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs # CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtmlfeature/19315_Customer-Registration
Leeza Baidar
12 months ago
145 changed files with 2545 additions and 1393 deletions
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/DesignTimeBuild/.dtbcache.v2
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/02b76283-e33a-4b2c-8c0e-437588024fe7.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/035e690a-4405-4c01-b700-61f9254d7eed.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/03d4b023-3dd9-4284-b08a-f191d995fd54.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/239d0a93-0ef5-4ab9-bf14-a76cc123b37a.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/3ea282cd-ad39-4ea8-8b44-1fa7031b0776.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/3eba115c-b77a-4a06-9477-1c0afd8805b5.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/4f4edbee-9a89-4135-99d4-76498d131c0d.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/65a03552-8339-47d8-b445-2bc4972fd48d.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/ba0e9546-179e-4d76-95d7-938d4eea1391.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/dbbaa2ad-d757-4ce7-8722-0496ca2c1508.vsidx
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/v17/.futdcache.v2
-
BINCustomerOnlineV2/.vs/CustomerOnlineV2/v17/.suo
-
BINCustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.metadata.v7.bin
-
BINCustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.projects.v7.bin
-
1CustomerOnlineV2/CustomerOnlineV2.Api/API/TPApi/TPApiService.cs
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
-
32CustomerOnlineV2/CustomerOnlineV2.Api/obj/CustomerOnlineV2.Api.csproj.nuget.dgspec.json
-
4CustomerOnlineV2/CustomerOnlineV2.Api/obj/CustomerOnlineV2.Api.csproj.nuget.g.props
-
2CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.GeneratedMSBuildEditorConfig.editorconfig
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.assets.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.csproj.AssemblyReference.cache
-
2CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.csproj.CoreCompileInputs.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.pdb
-
17CustomerOnlineV2/CustomerOnlineV2.Api/obj/project.assets.json
-
26CustomerOnlineV2/CustomerOnlineV2.Api/obj/project.nuget.cache
-
4CustomerOnlineV2/CustomerOnlineV2.Business/Business/AccountBusiness/AccountBusiness.cs
-
1CustomerOnlineV2/CustomerOnlineV2.Business/Business/AccountBusiness/IAccountBusiness.cs
-
2CustomerOnlineV2/CustomerOnlineV2.Business/Business/ReceiverBusiness/IReceiverBusiness.cs
-
4CustomerOnlineV2/CustomerOnlineV2.Business/Business/ReceiverBusiness/ReceiverBusiness.cs
-
1CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/IRegisterBusiness.cs
-
18CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb
-
74CustomerOnlineV2/CustomerOnlineV2.Business/obj/CustomerOnlineV2.Business.csproj.nuget.dgspec.json
-
4CustomerOnlineV2/CustomerOnlineV2.Business/obj/CustomerOnlineV2.Business.csproj.nuget.g.props
-
2CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.GeneratedMSBuildEditorConfig.editorconfig
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.assets.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.csproj.AssemblyReference.cache
-
2CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.csproj.CoreCompileInputs.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/ref/CustomerOnlineV2.Business.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/refint/CustomerOnlineV2.Business.dll
-
25CustomerOnlineV2/CustomerOnlineV2.Business/obj/project.assets.json
-
124CustomerOnlineV2/CustomerOnlineV2.Business/obj/project.nuget.cache
-
11CustomerOnlineV2/CustomerOnlineV2.Common/Models/AccountModel/AccountModel.cs
-
84CustomerOnlineV2/CustomerOnlineV2.Common/Models/RegisterModel/UserRegisterResponse.cs
-
8CustomerOnlineV2/CustomerOnlineV2.Common/Models/TransactionModel/ExrateResponse.cs
-
43CustomerOnlineV2/CustomerOnlineV2.Common/Models/TransactionModel/TrustPaymentRequest.cs
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
-
15CustomerOnlineV2/CustomerOnlineV2.Common/obj/CustomerOnlineV2.Common.csproj.nuget.dgspec.json
-
4CustomerOnlineV2/CustomerOnlineV2.Common/obj/CustomerOnlineV2.Common.csproj.nuget.g.props
-
2CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.GeneratedMSBuildEditorConfig.editorconfig
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.assets.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/ref/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/refint/CustomerOnlineV2.Common.dll
-
13CustomerOnlineV2/CustomerOnlineV2.Common/obj/project.assets.json
-
22CustomerOnlineV2/CustomerOnlineV2.Common/obj/project.nuget.cache
-
23CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/AccountRepository/AccountRepository.cs
-
1CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/AccountRepository/IAccountRepository.cs
-
4CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs
-
2CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/ReceiverRepository/IReceiverRepository.cs
-
8CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/ReceiverRepository/ReceiverRepository.cs
-
6CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/IRegisterRepository.cs
-
79CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs
-
7CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/TransactionRepository/TransactionRepository.cs
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb
-
32CustomerOnlineV2/CustomerOnlineV2.Repository/obj/CustomerOnlineV2.Repository.csproj.nuget.dgspec.json
-
4CustomerOnlineV2/CustomerOnlineV2.Repository/obj/CustomerOnlineV2.Repository.csproj.nuget.g.props
-
2CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.GeneratedMSBuildEditorConfig.editorconfig
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.assets.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.csproj.AssemblyReference.cache
-
2CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.csproj.CoreCompileInputs.cache
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.pdb
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/ref/CustomerOnlineV2.Repository.dll
-
BINCustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/refint/CustomerOnlineV2.Repository.dll
-
17CustomerOnlineV2/CustomerOnlineV2.Repository/obj/project.assets.json
-
124CustomerOnlineV2/CustomerOnlineV2.Repository/obj/project.nuget.cache
-
37CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs
-
55CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs
-
6CustomerOnlineV2/CustomerOnlineV2/Controllers/ReceiverInformationController.cs
-
72CustomerOnlineV2/CustomerOnlineV2/Controllers/TransactionController.cs
@ -1 +1 @@ |
|||
8bc93ebe94a580592cc266d48cb06c9a21b92814 |
|||
75bb5938ece42a314cccc83d6aeed81f53f3782a |
@ -1 +1 @@ |
|||
3e468675c81c6c645ff2ccecaa077786aac56018 |
|||
f9a056861701894a49cdbcc99da1e90832e884d6 |
@ -0,0 +1,43 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace CustomerOnlineV2.Common.Models.TransactionModel |
|||
{ |
|||
public class TrustPaymentRequest |
|||
{ |
|||
public string? sitereference { get; set; } |
|||
public string? stprofile { get; set; } |
|||
public string? currencyiso3a { get; set; } |
|||
public string? mainamount { get; set; } |
|||
public string? version { get; set; } |
|||
public string? request_source { get; set; } |
|||
public string? orderreference { get; set; } |
|||
public string? billingfirstname { get; set; } |
|||
public string? billinglastname { get; set; } |
|||
public string? billingstreet { get; set; } |
|||
public string? customerpremise { get; set; } |
|||
public string? customerstreet { get; set; } |
|||
public string? billingpostcode { get; set; } |
|||
public string? customerpostcode { get; set; } |
|||
public string? billingtown { get; set; } |
|||
public string? customertown { get; set; } |
|||
public string? billingcountryiso2a { get; set; } |
|||
public string? customercountryiso2a { get; set; } |
|||
public string? custobillingtelephonemertown { get; set; } |
|||
|
|||
public string? customertelephone { get; set; } |
|||
public string? billingtelephone { get; set; } |
|||
public string? billingemail { get; set; } |
|||
public string? customeremail { get; set; } |
|||
public string? successfulurlredirect { get; set; } |
|||
public string? declinedurlredirect { get; set; } |
|||
public string? sitesecuritytimestamp { get; set; } |
|||
public string? sitesecurity { get; set; } |
|||
public string? ruleidentifier { get; set; } |
|||
public string? merchantemail { get; set; } |
|||
|
|||
} |
|||
} |
@ -1,12 +1,87 @@ |
|||
using System; |
|||
using CustomerOnlineV2.Common.Models; |
|||
using CustomerOnlineV2.Common.Models.RegisterModel; |
|||
using CustomerOnlineV2.Repository.ConnectionHelper; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Reflection; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace CustomerOnlineV2.Repository.Repository.RegisterRepository |
|||
{ |
|||
internal class RegisterRepository |
|||
public class RegisterRepository : IRegisterRepository |
|||
{ |
|||
private readonly IConnectionHelper _connHelper; |
|||
|
|||
public RegisterRepository(IConnectionHelper connHelper) |
|||
{ |
|||
_connHelper = connHelper; |
|||
} |
|||
|
|||
public async Task<OnlineCustomerRegisterModel> GetRegisterDetails(OnlineCustomerRegisterModel model) |
|||
{ |
|||
try |
|||
{ |
|||
var sql = "EXEC proc_online_core_customerSetup"; |
|||
sql += " @flag = " + _connHelper.FilterString("customer-register-core"); |
|||
|
|||
//sql += ", @user = " + _connHelper.FilterString(model.ReceiverId.());
|
|||
sql += ",@country =" + _connHelper.FilterString(model.country); |
|||
sql += ",@password =" + _connHelper.FilterString(model.Password); |
|||
sql += ",@custEmail =" + _connHelper.FilterString(model.email); |
|||
//sql += ",@custEmail =" + _connHelper.FilterString(model.onlineUser);
|
|||
sql += ",@firstName =" + _connHelper.FilterString(model.firstName); |
|||
sql += ",@middleName =" + _connHelper.FilterString(model.middleName); |
|||
sql += ",@lastName1 =" + _connHelper.FilterString(model.lastName1); |
|||
sql += ",@lastName2 =" + _connHelper.FilterString(model.lastName2); |
|||
sql += ",@custAdd1 =" + _connHelper.FilterString(model.address); |
|||
sql += ",@sourceOfFound =" + _connHelper.FilterString(model.sourceOfFound); |
|||
sql += ",@custMobile =" + _connHelper.FilterString(model.mobile); |
|||
sql += ",@custGender =" + _connHelper.FilterString(model.gender); |
|||
sql += ",@placeOfIssue =" + _connHelper.FilterString(model.placeOfIssue); |
|||
sql += ",@customerIdType =" + _connHelper.FilterString(model.idType); |
|||
sql += ",@customerIdNo =" + _connHelper.FilterString(model.idNumber); |
|||
sql += ",@custIdissueDate =" + _connHelper.FilterString(model.idIssueDate); |
|||
sql += ",@custIdValidDate =" + _connHelper.FilterString(model.idExpiryDate); |
|||
sql += ",@custDOB =" + _connHelper.FilterString(model.dob); |
|||
sql += ",@occupation =" + _connHelper.FilterString(model.occupation); |
|||
sql += ",@custNativecountry =" + _connHelper.FilterString(model.nativeCountry); |
|||
//sql += ",@CreatedFrom =" + _connHelper.FilterString("O");
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
var dt = _connHelper.ExecuteDataTable(sql); |
|||
|
|||
|
|||
if (dt == null || dt.Rows.Count <= 0) |
|||
{ |
|||
model.ResponseCode = ResponseHelper.FAILED; |
|||
model.ResponseMessage = "DB Null Error!"; |
|||
|
|||
|
|||
} |
|||
else |
|||
{ |
|||
model.ResponseCode = ResponseHelper.SUCCESS; |
|||
model.ResponseMessage = ResponseMessageHelper.SUCCESS; |
|||
|
|||
|
|||
} |
|||
} |
|||
catch (Exception ex) |
|||
{ |
|||
model.ResponseCode = ResponseHelper.EXCEPTION; |
|||
model.ResponseMessage = "Exception occured: " + ex.Message; |
|||
|
|||
|
|||
} |
|||
|
|||
return await Task.FromResult(model); |
|||
} |
|||
} |
|||
} |
@ -1 +1 @@ |
|||
60312af12f397c8bd0888994211d52acee250c13 |
|||
6be622cfc5f20b2c010f5d35f4d4352919e149be |
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue