Esempio n. 1
0
 ///<summary></summary>
 public static long Insert(AlertCategory alertCategory)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         alertCategory.AlertCategoryNum = Meth.GetLong(MethodBase.GetCurrentMethod(), alertCategory);
         return(alertCategory.AlertCategoryNum);
     }
     return(Crud.AlertCategoryCrud.Insert(alertCategory));
 }
Esempio n. 2
0
 ///<summary></summary>
 public static void Update(AlertCategory alertCategory)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), alertCategory);
         return;
     }
     Crud.AlertCategoryCrud.Update(alertCategory);
 }