using System;
using System.Threading.Tasks;
namespace Timeline.Services.User
{
    public interface IUserDeleteService
    {
        /// 
        /// Delete a user of given username.
        /// 
        /// Username of the user to delete. Can't be null.
        /// Thrown if  is null.
        /// Thrown when  is of bad format.
        /// Thrown when the user does not exist. 
        /// Thrown when deleting root user.
        Task DeleteUserAsync(string username);
    }
}