Beispiel #1
0
 public IEnumerable <MemberViewModel> GetMembers(int structuralGroupId, string memberType)
 {
     using (var structureRepository = new StructureRepository(ApplicationContext.DatabaseContext.Database, ApplicationContext.Services.MemberService))
     {
         return(structureRepository.GetMembers(structuralGroupId, memberType).Select(MemberViewModel.FromModel));
     }
 }