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

            return(Json(new { Success = true, Layers = lst }));
        }
示例#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 }));
        }