public async Task <Computer> InsertAsync(ComputerVO entity) { var computerBase = await _computerRepository.FindUserByName(entity.Name); if (computerBase != null) { return(new Computer { Id = computerBase.Id }); } return(await _computerRepository.InsertAsync(_converter.Parse(entity))); }