Exemple #1
0
        UpdateEligibilityInfo(LG.Data.Models.Clients.EligibilitySettings entity)
        {
            var client = ClientConnection.GetCmsConnection();

            try
            {
                client.Open();
                var response = await client.UpdateEligibilityDataConfigurationAsync(
                    new UpdateEligibilityDataConfigurationRequest()
                {
                    MessageGuid     = entity.MessageGuid,
                    HavingFMEN      = entity.HavingFMEN,
                    HavingPMEN      = entity.HavingPMEN,
                    ClientRID       = entity.ClientRID,
                    IsSendingFMData = entity.IsSendingFMData,
                    PropBag         = entity.PropBag
                });

                client.Close();
                entity.IsError = false;
                entity.Message = response.ReturnStatus.GeneralMessage;
                return(entity);
            }
            catch (Exception ex)
            {
                client.Close();
                entity.IsError = false;
                entity.Message = ex.Message;
                return(entity);
            }
        }
Exemple #2
0
 public static async Task <LG.Data.Models.Clients.EligibilitySettings> UpdateEligibilityInfo(
     LG.Data.Models.Clients.EligibilitySettings entity)
 {
     return(await LG.Data.Core.Clients.ClientDataService.UpdateEligibilityInfo(entity));
 }