Пример #1
0
        public JsonResult TotalPrise()
        {
            int total_prise = photorepo.totalPrise(User.Identity.Name);
            var jsonResult  = Json(total_prise, JsonRequestBehavior.AllowGet);

            return(jsonResult);
        }