Esempio n. 1
0
 public void DeleteFavorite(Sender sender, Guid UserID, Guid PrivilegeID)
 {
     try
     {
         using (ObjectProxy op = new ObjectProxy(true))
         {
             op.DeleteFavoriteByUserID_PrivilegeID(UserID, PrivilegeID);
             op.CommitTransaction();
         }
     }
     catch (Exception ex)
     {
         PLogger.LogError(ex);
         throw ex;
     }
 }