Esempio n. 1
0
        public ActionResult GetLayers(jsonLayer selection)
        {
            IList <LayerResponse> lst = garmentRepository.GetLayers(selection.GarmentIds);

            return(Json(new { Success = true, Layers = lst }));
        }
Esempio n. 2
0
        public ActionResult GetLayers(jsonLayer selection)
        {
            IList <LayerResponse> lst = garmentRepository.GetLayers(selection.GarmentIds);

            return(Json(new { Success = true, Layers = lst, id = selection.OutfitId, top = selection.Top, left = selection.Left }));
        }