public IHttpActionResult GetFinancialProjections(AccountDetails Param)
        {
            JSON JSONReturn = new JSON();
            FinancialProjections financialProjections = new FinancialProjections();

            financialProjections = DatabaseAccess.GetFinancialProjections(Param);

            JSONReturn.Data    = financialProjections;
            JSONReturn.Message = "Success";

            return(Json(JSONReturn));
        }
        public IHttpActionResult AddNewFinancialProjections(FinancialProjections Param)
        {
            JSON JSONReturn = new JSON();

            DatabaseAccess.AddNewFinancialProjections(Param);
            JSON returnJSON = new JSON();

            try
            {
                //JSONReturn.Data = clientDetails;
                //JSONReturn.Message = connectionString;
            }
            catch (Exception ex)
            {
                returnJSON.Message = ex.Message;
                return(Json(returnJSON));
            }

            return(Json(JSONReturn));
        }
        public IHttpActionResult UpdateFinancialProjections(FinancialProjections Param)
        {
            JSON JSONReturn = new JSON();
            FinancialProjections financialProjections = new FinancialProjections();

            DatabaseAccess.UpdateFinancialProjections(Param);
            JSON returnJSON = new JSON();

            try
            {
                JSONReturn.Data    = financialProjections;
                JSONReturn.Message = connectionString;
            }
            catch (Exception ex)
            {
                returnJSON.Message = ex.Message;
                return(Json(returnJSON));
            }

            return(Json(JSONReturn));
        }