/// <summary> /// Save email in database /// </summary> /// <param name="subject">suject of email</param> /// <param name="mailTO">mail to list, separated by commas</param> /// <param name="MailCC">mail to cc list, separated by commas</param> /// <param name="body">mail body</param> /// <param name="userid">user id sending this email</param> /// <returns>int, newly created email record id in database</returns> public int SaveEmail(string subject, string mailTO, string MailCC, string body, int userid) { DAL_TRV_Request TRequest = new DAL_TRV_Request(); try { return(TRequest.Save_Email(subject, mailTO, MailCC, body, userid)); } catch { throw; } }