Ejemplo n.º 1
0
        public ActionResult FundChart()
        {
            FundInstance objFundInstance = new FundInstance();
            FundDAL      objFundRecord   = new FundDAL();

            try
            {
                objFundInstance.FundInstanceList = objFundRecord.GetFundDetails();
                return(View("~/Views/Fund/FundChart.cshtml", objFundInstance));
            }
            catch (Exception ex)
            {
                throw;
            }
        }
Ejemplo n.º 2
0
        public JsonResult FundDashboardList(Int16?fundId)
        {
            FundInstance objFundInstance = new FundInstance();
            FundDAL      objFundRecords  = new FundDAL();

            if (object.Equals(fundId, null))
            {
                fundId = 1;
            }
            try
            {
                var response = objFundRecords.GetFundRecordByFundId(fundId);
                if (!object.Equals(response, null))
                {
                    objFundInstance.FundRecordsList = response.ToList();
                }
            }
            catch (Exception ex)
            {
                throw;
            }
            return(Json(objFundInstance.FundRecordsList, JsonRequestBehavior.AllowGet));
        }