Example #1
0
 public int SaveMailItem(as_mail element)
 {
     try
     {
         if (element.id == 0)
         {
             db.SaveMailItem(element);
         }
     }
     catch (Exception ex)
     {
         RDL.Debug.LogError(ex);
     }
     return(element.id);
 }
Example #2
0
        public as_mail GetMail(int id)
        {
            as_mail res = db.GetMail(id);

            return(res);
        }