Exemplo n.º 1
0
        public ActionResult GetOpportunityWinByMonth()
        {
            objResponse      Response = new objResponse();
            List <TextValue> OppoData = new List <TextValue>();

            session = new SessionHelper();
            try
            {
                OppoData = objHomeManager.GetOpportunityWonByMonth(Convert.ToInt64(session.UserSession.PIN));
                return(Json(OppoData, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                BAL.Common.LogManager.LogError("GetOpportunityWinByMonth Post Method", 1, Convert.ToString(ex.Source), Convert.ToString(ex.Message), Convert.ToString(ex.StackTrace));
                return(Json(OppoData, JsonRequestBehavior.AllowGet));
            }
        }