public async Task <IHttpActionResult> Patch([FromODataUri] int OrderLineID, Delta <OrderLine> patch)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var item = await _service.FindAsync(OrderLineID);

            if (item == null)
            {
                return(NotFound());
            }

            patch.Patch(item);
            item.ObjectState = ObjectState.Modified;

            try
            {
                await _unitOfWorkAsync.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!ItemExists(OrderLineID))
                {
                    return(NotFound());
                }
                throw;
            }

            return(Updated(item));
        }