public CertificateDto GetCertificateById(int id) { return(ToClientDto(_certificateRepository.GetInstanceById(id))); }