Interviews1 answer
We have the class ReinsurancePolicyPublic class ReinsurancePolicy{public int PolicyId{get; set;}public string Country{get; set;}public string Insured{get;set;}public string Broker {get; set;}public bool IsLeading { get; set;}} Our data source is :var policies = new List<ReinsurancePolicy>() {new ReinsurancePolicy{ PolicyId = 1, Broker = 'Broker A', Insured = 'InsuredA', Country = 'US', Isleading = false},new ReinsurancePolicy{ PolicyId = 2, Broker = 'Broker B', Insured = 'InsuredB', Country =
1 Answer
Exception thrown when there is more than 1 elements in the result
Riyas AhammedPosted Jun 5, 2016, 5:22 AM EDT