Пример #1
0
        public T ReturnResponse <T>(T obj, WebAPIResponses response)
        {
            using (var waContext = new WebAPIContext()) {
                waContext.RecordResponse(response, DateTime.Now.Subtract(_startTime).TotalSeconds);
            }

            return(obj);
        }