public static void SaveCorporative(String fullName, String GuidCorporative) { try { String query = String.Format("execute xsp_InsertCorporativeCRM '{0}', '{1}'", fullName, GuidCorporative); DataBaseSettings db = new DataBaseSettings(); db.ExecuteQuery(query); } catch (Exception ex) { throw ex; } }
public static void Save(String projectID, String projectName, String GuidProjectCRM) { try { String query = String.Format(@"EXEC xsp_InsertProjectCRM '{0}', '{1}', '{2}'", projectID, projectName, GuidProjectCRM); DataBaseSettings db = new DataBaseSettings(); db.ExecuteQuery(query); } catch (Exception ex) { throw ex; } }