diff --git a/CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs b/CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs
index 127f8e4..0f0dd5b 100644
--- a/CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs
+++ b/CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs
@@ -38,7 +38,7 @@ namespace CustomerOnlineV2.Business.Business.RegisterBusiness
bodyMappings.Add(new Mapping() { SValue = "CustomerName", SText = register.fullName });
bodyMappings.Add(new Mapping() { SValue = "CustomerId", SText = model1.Id });
- bodyMappings.Add(new Mapping() { SValue = "UserId", SText = model1.Extra.Split("|")[1] });
+ bodyMappings.Add(new Mapping() { SValue = "UserId", SText = model1.Extra });
bodyMappings.Add(new Mapping() { SValue = "FirstName", SText = register.firstName });
bodyMappings.Add(new Mapping() { SValue = "MiddleName", SText = register.middleName });
bodyMappings.Add(new Mapping() { SValue = "LastName", SText = register.lastName1 });
diff --git a/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs b/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs
index ec26094..d715950 100644
--- a/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs
+++ b/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs
@@ -63,6 +63,7 @@ namespace CustomerOnlineV2.Repository.Repository.RegisterRepository
var dt = _connHelper.ExecuteDataTable(sql);
+ var r = _connHelper.ParseDbResult(dt);
if (dt == null || dt.Rows.Count <= 0)
{
@@ -75,6 +76,8 @@ namespace CustomerOnlineV2.Repository.Repository.RegisterRepository
{
response.ErrorCode = ResponseHelper.SUCCESS.ToString();
response.Msg = "Customer is registered. Proceed to login.";
+ response.Id = r.Id;
+ response.Extra = r.Extra2;
}
else
{
diff --git a/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Notifications.cshtml b/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Notifications.cshtml
index 999fa7c..7367920 100644
--- a/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Notifications.cshtml
+++ b/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Notifications.cshtml
@@ -167,8 +167,8 @@
// '';
// ' ':
// '';
- ' ' :
- '< i class="fa-info-circle" style = "color: #8b8d8b;" > ';
+ ' ' :
+ '< i class="fa fa-info-circle" style = "color: #8b8d8b;" > ';
} else if (d.category === 'ERROR') {
iconHtml = d.isRead ?
// '' :