public NotFoundException(string name, object key) : base($"{name} ({key}) is not found") { reponseKO = new ReponseKO(); reponseKO.Message = $"{name} ({key}) is not found"; }
public BadRequestException(string message) : base(message) { reponseKO = new ReponseKO(); reponseKO.Message = message; }