static int ScriptUpdate1() { Number model = NumberService.Read(new Number() { Size = 2, TypeOfNumber = "Standart" }, 1, 0).First(); DateTime startTime = DateTime.Now; NumberService.Update(model); DateTime finishTime = DateTime.Now; return((int)(finishTime - startTime).TotalMilliseconds); }