Example #1
0
        /// <summary>
        /// 提交投票结果
        /// </summary>
        /// <param name="DeptSorceList">部门评分列表</param>
        /// <param name="DB">数据库对象</param>
        /// <returns>是否成功</returns>
        public bool Submit(List<Model.T_Sorce> DeptSorceList, DB_EvaluationEntities DB)
        {
            try
            {
                foreach (Model.T_Sorce item in DeptSorceList)
                {
                    DB.AddToT_Sorce(item);
                }
            }
            catch
            {
            }
            finally
            {

            }

            return true;
        }