public static Studio GetStudio(string name) { Guid id = GetStudioId(name); var studio = Kernel.Instance.ItemRepository.RetrieveItem(id) as Studio; if (studio == null || studio.Name == null) { studio = new Studio(id, name.Trim()); Kernel.Instance.ItemRepository.SaveItem(studio); } return studio; }
public StudioItemWrapper(Studio studio, FolderModel parent) { this.Studio = studio; this.parent = parent; }