Esempio n. 1
0
        public async Task <JsonResult> BulkUpdate(Qty model)
        {
            string userId = User.Identity.GetUserId();
            await _cart.BulkQuantityUpdateItemForCart(Guid.Parse(model.id), userId, int.Parse(model.qty));

            return(Json("Proccess completed successfuly", JsonRequestBehavior.AllowGet));
        }