Beispiel #1
0
        public ActionResult AjaxContactToOrder()
        {
            var obj   = _ordersApi.ContactToOrder(UserItem.AgencyID, ArrId.FirstOrDefault(), UserItem.UserId);
            var model = new ModelBedDeskItem
            {
                ListItem      = _deskApi.GetListNow(UserItem.AgencyID),
                OrderItem     = obj,
                Listid        = obj.DN_Bed_Desk1.Select(m => m.ID),
                CategoryItems = _productApi.GetList(UserItem.AgencyID)
            };

            return(View("AjaxOrders", model));
        }