protected void Page_Load(object sender, EventArgs e) { GenerateDisbursementController generateDisbursementController = new GenerateDisbursementController(); int result = generateDisbursementController.loadController(); if (result == 1) { Response.Redirect("ViewDisbursement.aspx/?caller=1"); } else if (result == 0) { Response.Redirect("ViewDisbursement.aspx/caller=2"); } }
public int gdloadController() { GenerateDisbursementController generateDisbursementController = new GenerateDisbursementController(); return generateDisbursementController.loadController(); }