public async Task <WorkOrder> GetAsync(Guid id)
        {
            try
            {
                var findById = await _collection.FindAsync(doc => doc.Id == id);

                var workOrderClass = findById.FirstOrDefault();
                if (workOrderClass == null)
                {
                    throw Error.EntityNotFoundDb();
                }
                var workOrder = _modelConverter.ToDomain(workOrderClass);

                return(workOrder);
            }
            catch (MongoCommandException ex)
            {
                Debug.WriteLine(ex);
                throw Error.GenericDb(ex);
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
                throw;
            }
        }