public async Task <ActionResult> CylinderAsync(string cylindertype, Cylinder cylinder, CancellationToken token) { cylinder.Cylinder_Id = ObjectId.GenerateNewId().ToString(); await _classRepository.CreateCylinderAsync(cylinder, token); return(View()); }