public IActionResult Detail(int id)
        {
            int bookingUserId = context.GetUserIdFromAspNetUserId(userManager.GetUserId(HttpContext.User));

            var model = context.GetBookingsDetailVMForUserBookingsDetail(bookingUserId);

            return(View(model));
        }
Пример #2
0
        public IActionResult GetHtml()
        {
            int bookingUserId = context.GetUserIdFromAspNetUserId(userManager.GetUserId(HttpContext.User));

            var model = context.GetBookingsDetailVMForUserBookingsDetail(bookingUserId);

            return(PartialView("_Bookingbox", model));
        }