using System.Threading.Tasks;
namespace TINK.Model.User.Account
{
/// Interface to manage an account store.
public interface IStore
{
///
/// Reads mail address and password from account store.
///
///
Task Load();
///
/// Writes mail address and password to account store.
///
///
Task Save(IAccount mailAndPwd);
///
/// Deletes mail address and password from account store.
///
/// Empty account instance if deleting succeeded.
IAccount Delete(IAccount mailAndPwd);
}
}