Exemplo n.º 1
0
        /// <summary>
        /// Create
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static MenuModel Create(MenuModel model)
        {
            var entity = new Menu();

            model.FillEntity(ref entity);
            return(new MenuModel(MenuServices.Create(entity)));
        }