/// <summary>
 /// Refreshs the entity instance from the database.
 /// </summary>
 ///
 /// <param name="userContext">
 /// User context.
 /// </param>
 ///
 /// <param name="appSettings">
 /// Entity to refresh (must be in database).
 /// </param>
 public void Refresh(IUserContext userContext, ref VahapYigit.Test.Models.ExecutionTrace entity)
 {
     using (var et = new ExecutionTracerService())
         using (var db = new ExecutionTraceCrud(userContext))
         {
             db.Refresh(ref entity);
         }
 }