mirror of
https://github.com/bitwarden/mobile
synced 2026-01-10 20:43:41 +00:00
16 lines
404 B
C#
16 lines
404 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.App.Models;
|
|
using Bit.App.Models.Api;
|
|
|
|
namespace Bit.App.Abstractions
|
|
{
|
|
public interface ISiteService
|
|
{
|
|
Task<Site> GetByIdAsync(string id);
|
|
Task<IEnumerable<Site>> GetAllAsync();
|
|
Task<ApiResult<SiteResponse>> SaveAsync(Site site);
|
|
Task<ApiResult<object>> DeleteAsync(string id);
|
|
}
|
|
}
|