Release v1.0.0 #16
.gitea/workflows
Application
Backend.slnDomain/Schedule
Campus.csDiscipline.csFaculty.csGroup.csLectureHall.csLesson.csLessonAssociation.csProfessor.csTypeOfOccupation.cs
Endpoint
ConfigureSwaggerOptions.cs
Controllers
Endpoint.csprojEnvironmentManager.csProgram.csProperties
SwaggerDefaultValues.csWeatherForecast.csPersistence
Contexts
Schedule
EntityTypeConfigurations
Schedule
Properties
UberDbContext.cs
10
Application/Common/Exceptions/NotFoundException.cs
Normal file
10
Application/Common/Exceptions/NotFoundException.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System.Reflection;
|
||||
using System;
|
||||
|
||||
namespace Mirea.Api.DataAccess.Application.Common.Exceptions;
|
||||
|
||||
public class NotFoundException : Exception
|
||||
{
|
||||
public NotFoundException(MemberInfo entity, string name, object id) : base($"The entity \"{entity.Name}\" property \"{name}\" was not found by id \"{id}\".") { }
|
||||
public NotFoundException(MemberInfo entity, object id) : base($"The entity \"{entity.Name}\" was not found by id \"{id}\".") { }
|
||||
}
|
Reference in New Issue
Block a user