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