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