public IActionResult UpdateLine(Guid id, Guid lineId, [FromBody] DocumentLine documentLine)
        {
            logger.LogInformation($"Looking for timesheet {id}");

            Timecard timecard = repository.Find(id);

            if (timecard != null)
            {
                logger.LogInformation($"Looking for line {lineId}");

                if (timecard.HasLine(lineId))
                {
                    var updatedLine = timecard.UpdatedLine(lineId, documentLine);

                    repository.Update(timecard);

                    return(Ok(updatedLine));
                }
                else
                {
                    return(NotFound());
                }
            }
            else
            {
                return(NotFound());
            }
        }