예제 #1
0
        public List <NonMemberList> getNonMembersInvoluvedForIncident(int inciID)
        {
            List <NonMemberList> nonMembers = new List <NonMemberList>();
            var memb = dataContext.sp_GetNonMembersInvoluvedForIncident(inciID);

            foreach (var x in memb)
            {
                NonMemberList nonMember = new NonMemberList();
                nonMember.Name = x.NonMemberName;
                nonMember.ID   = x.ID;
                nonMembers.Add(nonMember);
            }
            return(nonMembers);
        }