using System.Diagnostics.CodeAnalysis;
using OliverBooth.Data.Blog;
namespace OliverBooth.Services;
///
/// Represents a service for managing users.
///
public interface IBlogUserService
{
///
/// Attempts to find a user with the specified ID.
///
/// The ID of the user to find.
///
/// When this method returns, contains the user with the specified ID, if the user is found; otherwise,
/// .
///
///
/// if a user with the specified ID is found; otherwise, .
///
bool TryGetUser(Guid id, [NotNullWhen(true)] out IUser? user);
}