Exemplo n.º 1
0
        public ActionResult InStore(InStoreBookInventoryDTO dto)
        {
            var commandKey = ApiRequest.Put <Guid>(ServiceConsts.InventoryServiceApiName, $"{_inventoryApiBaseUrl}/api/inventories/{dto.BookInventoryId}/status", new
            {
                Status       = 1,
                Notes        = dto.Note,
                OccurredDate = dto.OccurredDate
            });

            return(Content(commandKey.ToString()));
        }
Exemplo n.º 2
0
        public ActionResult InStore(InStoreBookInventoryDTO dto)
        {
            var commandKey = ApiRequest.Put <Guid>($"{_apiGatewayUrl}/api/inventories/{dto.BookInventoryId}/status", new
            {
                Status       = 1,
                Notes        = dto.Note,
                OccurredDate = dto.OccurredDate
            });

            return(Content(commandKey.ToString()));
        }