コード例 #1
0
        public IActionResult ApproveCheckout(int checkoutId, int itemId)
        {
            //var currentUserProfile = GetCurrentUserProfile();

            _itemRepository.ApproveCheckout(checkoutId, itemId);
            //For now...
            return(Ok());
            //TODO:
            //Replace the above "return OK()" with the following returne statement after making a get by id method...
            //return CreatedAtAction("Get", new { id = item.Id }, item);
        }