public ActionResult GetLayers(jsonLayer selection) { IList <LayerResponse> lst = garmentRepository.GetLayers(selection.GarmentIds); return(Json(new { Success = true, Layers = lst })); }
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 })); }