presence/Demo/Data/Exceptions/UserNotFoundException.cs

10 lines
260 B
C#
Raw Normal View History

2024-11-08 16:52:52 +00:00
using System;
namespace Demo.Data.Exceptions
{
public class UserNotFoundException : RepositoryException
{
public UserNotFoundException(int userId)
: base($"Пользователь с ID {userId} не найден.") { }
}
}