public static IEnumerable <Log <TModel, TKey> > Logs <TModel, TKey>(this Controller controller, Expression <Func <Log <TModel, TKey>, bool> > filter) where TModel : class, IMonModel <TKey> { return(controller.Logger().Logs(filter)); }
public static ILogger Log <TModel, TKey>(this Controller controller, Log <TModel, TKey> log) where TModel : class, IMonModel <TKey> { return(controller.Logger().Log(log)); }