Example #1
0
        public Response <bool> RemoveMenu(decimal menuId)
        {
            var         result = new Response <bool>();
            List <Menu> menus  = new List <Menu>();

            menus.Add(new Menu {
                Id = menuId
            });

            menuDao.BatchDelete(menus, "id=?0", u => u.Id);

            return(result);
        }