public ProfileNameValidator(INpvProfileRepository npvpRepository)
     : base("Profile name already exists")
 {
     this.npvpRepository = npvpRepository;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public NpvProfileController(INpvProfileRepository npvpRepository, IMapper mapper, ILogger <NpvProfileController> logger)
 {
     this.npvpRepository = npvpRepository;
     this.mapper         = mapper;
     this.logger         = logger;
 }