Esempio n. 1
0
 /// <summary>
 /// Updates the exising right that has matching UserEmail and ItemId fields, 
 /// with the rest of the fields from the given updatedRight.
 /// </summary>
 /// 
 /// <param name="updatedRight">
 /// The updated Right object.
 /// </param>
 public void UpdateRight(Right updatedRight)
 {
     DB.UpdateRight(updatedRight);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds the given Right to the service.
 /// </summary>
 /// 
 /// <param name="newRight">
 /// The Right that should be created on the service.
 /// </param>
 public void GrantRight(Right newRight)
 {
     DB.GrantRight(newRight);
 }