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

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

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