public RichiestaLISDTO GetRichiestaByIdExt(string richid) { Stopwatch tw = new Stopwatch(); tw.Start(); log.Info(string.Format("Starting ...")); RichiestaLISDTO rich = null; rich = bll.GetRichiestaLISByIdExt(richid); if (rich == null) { string msg = string.Format("No Rich with ID: {0} found. The operation will be aborted!", richid); log.Info(msg); } tw.Stop(); log.Info(string.Format("Completed! Elapsed time {0}", LibString.TimeSpanToTimeHmsms(tw.Elapsed))); return(rich); }