public async Task <Request> LogBeginRequestAsync(EntityId id)
        {
            var request = await _repository.GetByIdAsync(id);

            request.StartDateExecution = DateTime.Now;

            await _repository.PartialUpdateAsync(request, new[] { nameof(Request.StartDateExecution) });

            return(request);
        }
 public Task <VirtualMachine> GetByIdAsync(int id)
 {
     return(_virtualMachineRepository.GetByIdAsync(id));
 }