Ejemplo n.º 1
0
    public void SearchSchoolFeeOfStudent()
    {
        try
        {
        string BranchID = Request.Params["BranchID"];
        string PPID = Request.Params["StudentID"];
        string PPCode = Session["PeopleCode"].ToString();
        string HPFrom = Request.Params["HPFrom"];
        string HPTo = Request.Params["HPTo"];
        string TrangThaiHP = Request.Params["TrangThaiHP"];
        string isDangHoc = Request.Params["isDangHoc"];
        string isNgungHoc = Request.Params["isNgungHoc"];
        List<SchoolFeeOfStudent_Model> rs = new List<SchoolFeeOfStudent_Model>();
        SchoolFeeOfStudent_Controler sfsController = new SchoolFeeOfStudent_Controler();
        rs = sfsController.SearchSchoolFeeOfStudent(BranchID, PPID, PPCode, HPFrom, HPTo, TrangThaiHP, isDangHoc, isNgungHoc);

        WriteJsonData(Response,rs);
        }
        catch (Exception ex)
        {
            //Gửi email báo lỗi
            sendEmail.SendMailForTechnical("*****@*****.**", "Lỗi", ex.ToString(), true);
        }
    }
Ejemplo n.º 2
0
 public void LayDSHV_trongTrungTam()
 {
     try
     {
     string BranchID = Request.Params["BranchID"];
     List<Student_Model> rs = new List<Student_Model>();
     SchoolFeeOfStudent_Controler sfController = new SchoolFeeOfStudent_Controler();
     rs = sfController.GetDSHV_trongTrungTam(BranchID);
     WriteJsonData(Response, rs);
     }
     catch (Exception ex)
     {
         //Gửi email báo lỗi
         sendEmail.SendMailForTechnical("*****@*****.**", "Lỗi", ex.ToString(), true);
     }
 }