示例#1
0
 public void AddToSnapshot(int EmployeeID, int CompDefHeaderID)
 {
     using (var context = new SSITrainingEntities())
     {
         try
         {
             context.sp_CACompetency_AddCompetency_toEmployeeSnapshot(EmployeeID, CompDefHeaderID, Convert.ToInt32(Session["UserID"]));
         }
         catch (Exception ex)
         {
             Console.WriteLine(ex.Message);
         }
     }
 }