public async Task <IHttpActionResult> Post([FromBody] ItemOrderRoutesDTO[] value, CancellationToken token)
        {
            //Exception handling to be done globally
            var service = new DataContractService();
            await service.WriteToDB <ItemOrderRoutesDTO>(value.GetDataReader(), token, "erp.item_order_routes_refresh");

            return(Ok());
        }
        public async Task <IHttpActionResult> Post([FromBody] HistoriesConnectedItemsDTO[] value, CancellationToken token)
        {
            //Exception handling to be done globally
            var service = new DataContractService();
            await service.WriteToDB <HistoriesConnectedItemsDTO>(value.GetDataReader(), token, "erp.histories_connected_items_refresh");

            return(Ok());
        }