using System.Diagnostics.CodeAnalysis;
using OliverBooth.Common.Data.Blog;
namespace OliverBooth.Common.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);
}