mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 19:05:07 -05:00
organize event models. stub out event services
This commit is contained in:
15
src/Core/Repositories/IEventRepository.cs
Normal file
15
src/Core/Repositories/IEventRepository.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Bit.Core.Models.Data;
|
||||
using Microsoft.WindowsAzure.Storage.Table;
|
||||
|
||||
namespace Bit.Core.Repositories
|
||||
{
|
||||
public interface IEventRepository
|
||||
{
|
||||
Task<ICollection<EventTableEntity>> GetManyByUserAsync(Guid userId, DateTime startDate, DateTime endDate);
|
||||
Task CreateAsync(ITableEntity entity);
|
||||
Task CreateManyAsync(IEnumerable<ITableEntity> entities);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user