|
|
@ -1974,7 +1974,7 @@ namespace Business.Mobile |
|
|
|
}, |
|
|
|
Language = Convert.ToString(CallContext.GetData(Constants.Language)) |
|
|
|
}; |
|
|
|
Task.Run(() => NotifierV2.SendNotification(pushNotificationRequest, NOTIFICATION_TYPE.PUSH_NOTIFICATION)); |
|
|
|
//Task.Run(() => NotifierV2.SendNotification(pushNotificationRequest, NOTIFICATION_TYPE.PUSH_NOTIFICATION));
|
|
|
|
//SendNotificationRequest emailNotificationRequest = new SendNotificationRequest()
|
|
|
|
//{
|
|
|
|
// IsBulkNotification = false,
|
|
|
@ -2614,11 +2614,14 @@ namespace Business.Mobile |
|
|
|
var requiredList = props.Where(x => list.Any(z => x.Key.ToLower() == z.Field.ToLower())) |
|
|
|
.Where(y => string.IsNullOrEmpty(y.Value)).ToList(); // case when Field Value empty
|
|
|
|
|
|
|
|
var pLength = props.SingleOrDefault(p => p.Key.ToLower().Equals("mobile")).Value.Length; |
|
|
|
var rLength = list.SingleOrDefault(p => p.Field.ToLower().Equals("mobile")).MinLength; |
|
|
|
|
|
|
|
if (pLength < rLength) |
|
|
|
requiredList.Add(new KeyValuePair() { Key = "mobile" }); |
|
|
|
|
|
|
|
|
|
|
|
//var pLength = props.SingleOrDefault(p => p.Key.ToLower().Equals("mobile")).Value.Length;
|
|
|
|
//var rLength = list.SingleOrDefault(p => p.Field.ToLower().Equals("mobile")).MinLength;
|
|
|
|
|
|
|
|
//if (pLength < rLength)
|
|
|
|
// requiredList.Add(new KeyValuePair() { Key = "mobile" });
|
|
|
|
|
|
|
|
if (requiredList.Count > 0) |
|
|
|
{ |
|
|
|