public override async Task <KundeDto> InsertKunde(KundeDto request, ServerCallContext context) { try { var entity = request.ConvertToEntity(); var response = await _manager.AddEntity(entity); return(response.ConvertToDto()); } catch (Exception) { throw new RpcException(new Status(StatusCode.Internal, "Internal error occured.")); } }