/// <summary> /// /// </summary> /// <param name="models"></param> /// <param name="lineNumber"></param> /// <param name="caller"></param> /// <returns></returns> public Task AddRangeAsync(List <T> models, [CallerLineNumber] int lineNumber = 0, [CallerMemberName] string caller = null) { _cache?.AddRangeAsync(models); _db.InsertManyAsync(models); return(Task.CompletedTask); }