Ejemplo n.º 1
0
        /// <summary>
        /// 提交离职
        /// </summary>
        /// <param name="dimission"></param>
        /// <returns></returns>
        public int Dimission(Dimission dimission)
        {
            int result = FinanceDal.Dimission(dimission);

            if (result > 0)
            {
                Managerdal.DeleteEmp(dimission.EmpsId);
            }
            return(result);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 删除员工
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public int DeleteEmp(int id)
 {
     return(dal.DeleteEmp(id));
 }