diff --git a/Govor.API/Extensions/ConfigurationProgramExtensions.cs b/Govor.API/Extensions/ConfigurationProgramExtensions.cs index 7e45361..c727014 100644 --- a/Govor.API/Extensions/ConfigurationProgramExtensions.cs +++ b/Govor.API/Extensions/ConfigurationProgramExtensions.cs @@ -75,6 +75,7 @@ public static class ConfigurationProgramExtensions services.AddScoped, InvitationValidator>(); services.AddScoped, FriendshipValidator>(); services.AddScoped, PrivateChatValidator>(); + services.AddScoped, ChatGroupValidator>(); } public static void AddGovorDbContext(this IServiceCollection services, IConfiguration configuration) diff --git a/Govor.Core/Infrastructure/Validators/ChatGroupValidator.cs b/Govor.Core/Infrastructure/Validators/ChatGroupValidator.cs new file mode 100644 index 0000000..d6c8b58 --- /dev/null +++ b/Govor.Core/Infrastructure/Validators/ChatGroupValidator.cs @@ -0,0 +1,16 @@ +using Govor.Core.Models; + +namespace Govor.Core.Infrastructure.Validators; + +public class ChatGroupValidator : IObjectValidator +{ + public void Validate(ChatGroup objectToValidate) + { + throw new NotImplementedException(); + } + + public bool TryValidate(ChatGroup objectToValidate) + { + throw new NotImplementedException(); + } +} \ No newline at end of file