예제 #1
0
        public ActionResult AdminDashboard()
        {
            DashboardManager objDashBoard = new DashboardManager();
            objResponse      Response     = new objResponse();
            DashboardModel   objModel     = new DashboardModel();

            try
            {
                Response = objDashBoard.GetDahboardData();
                if (Response.ErrorCode == 0)
                {
                    objModel.Memo = Response.ResponseData.Tables[0].Rows[0][0].ToString();
                    return(View(objModel));
                }
                else
                {
                    return(View(objModel));
                }
            }
            catch (Exception ex)
            {
                return(View(objModel));
            }
        }