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 })); }
// // GET: /Theodoi/ public ActionResult Index(string username) { var model = new TheodoiDao().Listbuaan(username); return(View(model)); }