Beispiel #1
0
 /// <summary>
 /// Gets the specified learning module.
 /// </summary>
 /// <param name="id">The id of the learning module.</param>
 /// <returns></returns>
 public IDictionary Get(int id)
 {
     DbDictionary dictionary = new DbDictionary(id, parent.CurrentUser);
     if (dictionary.HasPermission(PermissionTypes.Visible))
         return dictionary;
     else
         throw new PermissionException();
 }