/// <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); }
/// <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); }