public void AddNewLapData(Humphrey humphrey) { _context.Humphreys.Add(humphrey); }
public ActionResult <Humphrey> AddNewLapData(Humphrey humphrey) { _repository.AddNewLapData(humphrey); _repository.SaveChanges(); return(Ok()); }