public void ProcessRequest(HttpContext context) { int rows = 10000; int page = 1; string lock_type = "1"; if (!string.IsNullOrWhiteSpace(context.Request["rows"])) { rows = Convert.ToInt32(context.Request["rows"]); } if (!string.IsNullOrWhiteSpace(context.Request["page"])) { page = Convert.ToInt32(context.Request["page"]); } if (!string.IsNullOrWhiteSpace(context.Request["lock_type"])) { lock_type = context.Request["lock_type"]; } string lock_status = context.Request["lock_status"]; BllScore bllScore = new BllScore(); apiResp.result = bllScore.GetLockScoreList(rows, page, bllScore.GetCurrUserID(), bllScore.WebsiteOwner, lock_type, lock_status); apiResp.status = true; bllScore.ContextResponse(context, apiResp); }
public void ProcessRequest(HttpContext context) { string lock_type = "1"; if (!string.IsNullOrWhiteSpace(context.Request["lock_type"])) { lock_type = context.Request["lock_type"]; } BllScore bllScore = new BllScore(); apiResp.result = bllScore.GetTotalLockScore(bllScore.GetCurrUserID(), bllScore.WebsiteOwner, lock_type); apiResp.status = true; bllScore.ContextResponse(context, apiResp); }