Exemplo n.º 1
0
        public ActionResult GetOpenStatements()
        {
            CakesPosRepository            cpr        = new CakesPosRepository(_connectionString);
            IEnumerable <StatementsModel> statements = cpr.GetAllOpenStatements();

            return(Json(statements, JsonRequestBehavior.AllowGet));
        }