Пример #1
0
        /// <summary>
        /// Get by id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static MenuModel GetById(int id)
        {
            var entity = MenuServices.GetById(id);

            return(entity != null ? new MenuModel(entity) : null);
        }