示例#1
0
        public IHttpActionResult GetMenu(long menuId)
        {
            var menu = Mapper.Map <MenuModel>(_menuFacade.GetMenu(menuId));

            menu.ImageURL = Url.Link("MenuImage", new { menu.RestaurantId, menu.MenuId });
            return(Ok(menu));
        }