public ContactUsInfo Get(ContactUsInfo model) { ContactUsInfo returnValue = new ContactUsInfo(); try { string spName = "uspAboutInsertUpdate"; SqlParameter[] param = { SqlHelper.SqlParameter("@aboutus_id", System.Data.SqlDbType.Int, model.ContactId) }; using (SqlDataReader rdr = SqlHelper.ExecuteReader(SqlHelper.ConnectionStringLocalTransaction, System.Data.CommandType.StoredProcedure, spName, param)) { while (rdr.Read()) { } } } catch (Exception ex) { } return returnValue; }
public HtmlString GetContactUsHTML(ContactUsInfo cInfo) { StringBuilder str = new StringBuilder(""); ContactUs contactUs = new ContactUs(); return new HtmlString(str.ToString()); }
public ContactUsInfo Get(ContactUsInfo model) { ContactUsDAL dal = new ContactUsDAL(); return dal.Get(model); }