internal static csc_VolunteerApplication GetVolunteerApplicationEntity(this ICrmServiceContext apiController, Guid volunteerApplicationId, Guid volunteerId) { return((from volunteerApplicationEntity in apiController.GetCrmServiceContext().csc_VolunteerApplicationSet where volunteerApplicationEntity.csc_Volunteer.Id.Equals(volunteerId) where volunteerApplicationEntity.Id.Equals(volunteerApplicationId) select volunteerApplicationEntity).Single()); }