/// <summary>
        /// 获取指定员工的上级部门主管
        /// </summary>
        /// <param name="depUserModel"></param>
        /// <returns></returns>
        public List <ViewUserModel> GetParentDepInfo(string userName)
        {
            DepUserModel depUserModel = new DepUserModel();

            depUserModel.UserName = userName;
            return(organizationProvider.GetParentDepInfo(depUserModel));
        }
        /// <summary>
        /// 获取用户所属部门以及直属领导人对象
        /// </summary>
        /// <param name="depUserModel"></param>
        /// <returns></returns>
        public ViewUserModel GetUserInfo(string userName)
        {
            DepUserModel depUserModel = new DepUserModel();

            depUserModel.UserName = userName;
            return(organizationProvider.GetUserInfo(depUserModel));
        }
 /// <summary>
 /// 获取员工的第一部门对象
 /// </summary>
 /// <param name="depUserModel"></param>
 /// <returns></returns>
 public ViewUserModel VerifyUserIsMainOrg(DepUserModel depUserModel)
 {
     return(organizationProvider.VerifyUserIsMainOrg(depUserModel));
 }
 /// <summary>
 /// 获取用户所属部门以及直属领导人对象
 /// </summary>
 /// <param name="depUserModel"></param>
 /// <returns></returns>
 public ViewUserModel GetUserInfo(DepUserModel depUserModel)
 {
     return(organizationProvider.GetUserInfo(depUserModel));
 }