/// <summary> /// Updates the skill. /// </summary> /// <param name="skill">The skill.</param> public static void UpdateSkill(PM_Skills skill) { try { int rowsAffected = GetSynegyRMSInstance().SaveChanges(); } catch (Exception) { throw; } }
/// <summary> /// Saves the skill. /// </summary> /// <param name="skill">The skill.</param> public static void SaveSkill(PM_Skills skill) { try { GetSynegyRMSInstance().AddToPM_Skills(skill); GetSynegyRMSInstance().SaveChanges(); } catch (Exception) { throw; } }