Hi
In below code i want only Distinct Participant Id
public List<TrainingParticipant> GetSelectedUsers(Int32 ID) { try { List<TrainingParticipant> Result = (from t in context.TrainingParticipants where t.TrainingID == ID select t).ToList(); return Result; } catch (Exception ex) { throw ex; } }
Thanks