protected override ErtisAuthException GetNotFoundError(string id)
 {
     return(ErtisAuthException.MailHookNotFound(id));
 }
 public static NotFoundObjectResult MailHookNotFound(this ControllerBase controller, string mailHookId)
 {
     return(controller.NotFound(ErtisAuthException.MailHookNotFound(mailHookId)));
 }