Exemplo n.º 1
0
        public ActionResult New(int Id)
        {
            ViewBag.UserId = Id;

            UserDateRightsBL udrb = new UserDateRightsBL();

            return(View(udrb.Single("byUserId", Id.ToString())));
        }
Exemplo n.º 2
0
        public ActionResult UserDates(int Id)
        {
            UserDateRightsBL udrb = new UserDateRightsBL();

            return(Json(udrb.Single("byUserId", Id.ToString()), JsonRequestBehavior.AllowGet));
        }