diff --git a/src/ReC.Application/OutResults/Commands/CreateOutResCommand.cs b/src/ReC.Application/OutResults/Commands/CreateOutResCommand.cs index 98480a3..6b42ea9 100644 --- a/src/ReC.Application/OutResults/Commands/CreateOutResCommand.cs +++ b/src/ReC.Application/OutResults/Commands/CreateOutResCommand.cs @@ -20,6 +20,7 @@ public class CreateOutResCommand : IRequest public string? AddedWho { get; set; } } +[Obsolete("Use the related procedure or view.")] public class CreateOutResCommandHandler(IRepository repo) : IRequestHandler { public Task Handle(CreateOutResCommand request, CancellationToken cancel) diff --git a/src/ReC.Application/OutResults/MappingProfiles.cs b/src/ReC.Application/OutResults/MappingProfiles.cs index 26f01dc..e1600f0 100644 --- a/src/ReC.Application/OutResults/MappingProfiles.cs +++ b/src/ReC.Application/OutResults/MappingProfiles.cs @@ -6,6 +6,7 @@ namespace ReC.Application.OutResults; // TODO: update to inject AddedWho from the current host/user contex public class MappingProfiles : AutoMapper.Profile { + [Obsolete("Use the related procedure or view.")] public MappingProfiles() { CreateMap()