/// <summary> /// Gets entities with search options. /// </summary> /// /// <param name="userContext"> /// User context. /// </param> /// /// <param name="options"> /// Optional options, filters, orderby, paging, etc. /// </param> /// /// <returns> /// A collection of entities. /// </returns> public TCollection <VahapYigit.Test.Models.ProcessLog> Search(IUserContext userContext, ref SearchOptions options) { using (var et = new ExecutionTracerService()) using (var db = new ProcessLogCrud(userContext)) { return(db.Search(ref options)); } }