HRSys_Prj/Main.ashx.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HrDB
{
    /// <summary>
    /// Main1 的摘要说明
    /// </summary>
    public class Main1 : IHttpHandler
    {
        BLL.Family bll_family = new BLL.Family();
        BLL.Employee bll_employee = new BLL.Employee();
        BLL.ContactMan bll_contactman = new BLL.ContactMan();
        BLL.WorkExperience bll_workexperience = new BLL.WorkExperience();
        public void ProcessRequest(HttpContext context)
        {

            string Rowid = context.Request["rowid"].ToString();
            bool falg = bll_employee.EmployeeDelete(Rowid);
            if (falg)
            {
                bll_family.FamilyDelete(Rowid);
                bll_contactman.ContactManDelete(Rowid);
                bll_workexperience.ExperienceWordsDelete(Rowid);
            }
            context.Response.ContentType = "text/plain";
            context.Response.Write(falg ? "true" : "false");
        }
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。