Files
server/src/Core/Repositories/IFolderRepository.cs

14 lines
352 B
C#
Raw Normal View History

2017-03-18 00:01:11 -04:00
using System;
using Bit.Core.Models.Table;
2017-03-18 11:35:41 -04:00
using System.Threading.Tasks;
using System.Collections.Generic;
2017-03-18 00:01:11 -04:00
namespace Bit.Core.Repositories
{
public interface IFolderRepository : IRepository<Folder, Guid>
{
2017-03-18 11:35:41 -04:00
Task<Folder> GetByIdAsync(Guid id, Guid userId);
Task<ICollection<Folder>> GetManyByUserIdAsync(Guid userId);
2017-03-18 00:01:11 -04:00
}
}