예제 #1
0
 public Library GetContentLibrary(string libraryName, string ownerId, BXCModelEntities context = null)
 {
     context = context ?? new BXCModelEntities();
         var libraryRepo = new LibraryRepository(context);
         return libraryRepo.GetByNameAndOwner(libraryName, ownerId);
 }