/// <summary> /// Inserts the. /// </summary> /// <param name="entity">The entity.</param> /// <returns>A Task.</returns> public Task <int> InsertAsync(IEnumerable <T> entity) { return(_dbData.InsertManyAsync(entity)); }