using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Models.Data; using Bit.Core.Models.Domain; using Bit.Core.Models.Response; namespace Bit.Core.Abstractions { public interface IOrganizationService { Task GetAsync(string id); Task GetByIdentifierAsync(string identifier); Task> GetAllAsync(string userId = null); Task ReplaceAsync(Dictionary organizations); Task ClearAllAsync(string userId); Task GetClaimedOrganizationDomainAsync(string userEmail); } }