public async Task Update(PlaneType type) { if (type is PlaneType) { await service.UpdatePlaneTypeAsync(type); } }