示例#1
0
        public IHttpActionResult GetItem(long itemId)
        {
            var item = Mapper.Map <ItemModel>(_itemFacade.GetItem(itemId, Language));

            item.ImageURL = Url.Link("ItemImage", new { item.RestaurantId, item.MenuId, item.CategoryId, item.ItemID });
            return(Ok(item));
        }