Exemplo n.º 1
0
        public JsonResult Thembuaan(string username, string sobua, DateTime date, decimal pro, decimal fat, decimal carbs)
        {
            var result = new TheodoiDao().Thembua(username, sobua, date, pro, fat, carbs);

            return(Json(new
            {
                status = result
            }));
        }
Exemplo n.º 2
0
        //
        // GET: /Theodoi/

        public ActionResult Index(string username)
        {
            var model = new TheodoiDao().Listbuaan(username);

            return(View(model));
        }