﻿using System;

namespace RepositoryExceptions.Persistence
{
    /// <summary>
    /// New exception introduced
    /// </summary>
    public class UserNotFoundException : Exception
    {
        public UserNotFoundException() : base()
        {
        }

        public UserNotFoundException(string message) : base(message)
        {
        }
    }
}

﻿using System;

namespace RepositoryExceptions.Persistence
{
    /// <summary>
    /// New exception introduced
    /// </summary>
    public class UserNotFoundException : EntityNotFoundException
    {
        public UserNotFoundException() : base()
        {
        }

        public UserNotFoundException(string message) : base(message)
        {
        }
    }
}

Make new exception inherit from known type. Tests ok.
Make new exception inherit from known type. Tests ok.
