public ActionResult <double> AddRandomTeams(int quantity) { Stopwatch sw = new Stopwatch(); sw.Start(); TeamRepository.AddRandomTeams(quantity); sw.Stop(); return(new ActionResult <double>(sw.Elapsed.TotalMilliseconds)); }
public ActionResult <double> AddRandomTeams(int quantity) { Stopwatch sw = new Stopwatch(); sw.Start(); TeamRepository.AddRandomTeams(quantity); sw.Stop(); return(new ActionResult <double>(sw.Elapsed.TotalMilliseconds)); }