Пример #1
0
        public String ResetLayout(MethodResetLayoutParam resetLayoutParam, SaveLayoutParam saveLayoutParam)
        {
            var json = repository.ResetLayout(
                resetLayoutParam.EntityName,
                saveLayoutParam.Mode
                );

            return(json);
        }
Пример #2
0
        public String SaveLayout(SaveLayoutParam p)
        {
            var json = repository.SaveLayout(
                p.EntityName,
                JsonConvert.SerializeObject(p.Layout),
                p.Mode
                );

            return(json);
        }