You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using Business.Configuration; using Business.ReferralReports; using Common.Helper; using Common.Model.ReferralReports; using System; using System.Collections.Generic; using System.Web.UI;
namespace JMEAgentSystem { public partial class _Default : Page { private readonly IReferralReportsServices _referralReports = AutoFacContainer.Resolve<IReferralReportsServices>();
protected void Page_Load(object sender, EventArgs e) { var methodName = GetStatic.ReadFormData("MethodName", ""); if (methodName.Equals("ViewTopFiveTransactionList")) ViewTopFiveTransactionList(); }
private void ViewTopFiveTransactionList() { ViewStatementModel _model = new ViewStatementModel() { fromDate = Request.Form["FromDate"], toDate = Request.Form["ToDate"], referralCode = GetStatic.GetUser() };
List<TransactionStatementModel> result = _referralReports.ViewTop5TransactionReport(_model); GetStatic.JsonResponse(result, this); } } }
|