예제 #1
0
        public string UpdateAllTaskSorts(int oldSort, int newSort, int compDefHeader)
        {
            string result = "Successfull";

            try
            {
                // CompetencyTask cTask = new CompetencyTask();
                using (var context = new SSITrainingEntities())
                {
                    context.sp_CACompetency_UpdateSorts(oldSort, newSort, compDefHeader, Convert.ToInt32(Session["UserID"]));
                }
            }
            catch (Exception ex)
            {
                result = "Failed To Update All Tasks";
            }
            return(result);
        }