public PrestazioneDTO RetrievePres(string presid) { Stopwatch tw = new Stopwatch(); tw.Start(); log.Info(string.Format("Starting ...")); PrestazioneDTO pres = null; pres = bll.GetPrestazioneById(presid); tw.Stop(); log.Info(string.Format("Completed! Elapsed time {0}", LibString.TimeSpanToTimeHmsms(tw.Elapsed))); return(pres); }