/// <summary>
 /// 添加部门
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public Department Create(Department model)
 {
     try
     {
         return(dal.Create(model));
     }
     catch
     {
         throw new Exception("出现程序错误,请联系管理员!");
     }
 }