public T ReturnResponse <T>(T obj, WebAPIResponses response) { using (var waContext = new WebAPIContext()) { waContext.RecordResponse(response, DateTime.Now.Subtract(_startTime).TotalSeconds); } return(obj); }
public T ReturnResponse <T>(T obj, WebAPIResponses response) { using (var waContext = new WebAPIContext()) { waContext.RecordResponse(response, DateTime.Now.Subtract(_startTime).TotalSeconds); } return(obj); }