Browse Source

stash

feature/19315_Customer-Registration
Leeza Baidar 11 months ago
parent
commit
7fe4477c34
  1. 1
      CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/IRegisterBusiness.cs
  2. 5
      CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs
  3. 11
      CustomerOnlineV2/CustomerOnlineV2.Common/Models/RegisterModel/UserRegisterResponse.cs

1
CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/IRegisterBusiness.cs

@ -19,6 +19,5 @@ namespace CustomerOnlineV2.Business.Business.RegisterBusiness
Task<CustomerListModel> UpdateCustomers(CustomerListModel customer, string Id);
Task<CustomerNotificationModel> GetAllNotificationDetails(LoginResponse loginDetails);
Task<CustomerNotificationModel> GetRewardPoints(LoginResponse loginDetails);
Task<CustomerList> GetTranCustomerById(LoginResponse loginDetails);
}
}

5
CustomerOnlineV2/CustomerOnlineV2.Business/Business/RegisterBusiness/RegisterBusiness.cs

@ -48,11 +48,6 @@ namespace CustomerOnlineV2.Business.Business.RegisterBusiness
return (CustomerNotificationModel)await _registerRepository.GetAllNotificationDetails(loginDetails);
}
public async Task<CustomerList> GetTranCustomerById(LoginResponse loginDetails)
{
return (CustomerList)await _registerRepository.GetTranCustomerById(loginDetails);
}
public async Task<CustomerListModel> UpdateCustomers(CustomerListModel model, string id)
{
var model1 = await _registerRepository.UpdateCustomers1(model, id);

11
CustomerOnlineV2/CustomerOnlineV2.Common/Models/RegisterModel/UserRegisterResponse.cs

@ -33,10 +33,7 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel
public string? Extra2 { get; set; }
public object? Data { get; set; }
}
public class CustomerList : CommonResponse
{
public List<CustomerListModel>? CustomerListModel { get; set; }
}
public class CustomerListModel
{
@ -95,6 +92,12 @@ namespace CustomerOnlineV2.Common.Models.RegisterModel
public string? islocked { get; set; }
public string? sessionId { get; set; }
public string? AboutUs { get; set; }
public int ResponseCode { get; set; }
public string? ResponseMessage { get; set; }
}
public class CustomerList : CommonResponse
{
public List<CustomerListModel>? CustomerListModel { get; set; }
}
public class OnlineCustomerRegisterModel : CommonResponse
{

Loading…
Cancel
Save