public EmailTemplate GetEmailById(int id)
 {
     return(_emailTemplateRepository.GetEntityById(id));
 }