public static string getLeadPhoto(int leadImageID) { string result = null; LeadsImage leadImage = LeadsUploadManager.GetLeadsImageById(leadImageID); ClaimImageView claimView = null; if (leadImage != null) { claimView = new ClaimImageView { location = leadImage.Location, description = leadImage.Description }; } result = ComputerBeacon.Json.Serializer.Serialize(claimView); return(result); }
public static string getClaimPhoto(int claimImageID) { string result = null; ClaimImage claimImage = ClaimImageManager.Get(claimImageID); ClaimImageView claimView = null; if (claimImage != null) { claimView = new ClaimImageView { location = claimImage.Location, description = claimImage.Description }; } result = ComputerBeacon.Json.Serializer.Serialize(claimView); return result; }
public static string getClaimPhoto(int claimImageID) { string result = null; ClaimImage claimImage = ClaimImageManager.Get(claimImageID); ClaimImageView claimView = null; if (claimImage != null) { claimView = new ClaimImageView { location = claimImage.Location, description = claimImage.Description }; } result = ComputerBeacon.Json.Serializer.Serialize(claimView); return(result); }
public static string getLeadPhoto(int leadImageID) { string result = null; LeadsImage leadImage = LeadsUploadManager.GetLeadsImageById(leadImageID); ClaimImageView claimView = null; if (leadImage != null) { claimView = new ClaimImageView { location = leadImage.Location, description = leadImage.Description }; } result = ComputerBeacon.Json.Serializer.Serialize(claimView); return result; }