1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 22:58:11 -05:00
bitwarden/src/Core/Repositories/IEventRepository.cs
2017-12-08 14:03:07 -05:00

15 lines
426 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Models.Data;
namespace Bit.Core.Repositories
{
public interface IEventRepository
{
Task<ICollection<EventTableEntity>> GetManyByUserAsync(Guid userId, DateTime startDate, DateTime endDate);
Task CreateAsync(EventTableEntity entity);
Task CreateManyAsync(IList<EventTableEntity> entities);
}
}