public AdministrationController(IRepositoryTicketServiceSegregator repositoryTicketServices, IRepositoryAdminServiceSegregator repositoryAdminService)
        {
            _repositoryTicketServices = repositoryTicketServices as RepositoryTicketServices;
            _repositoryAdminServices  = repositoryAdminService as RepositoryAdminServices;


            var smtpHostServer = System.Configuration.ConfigurationManager.AppSettings["SmtpHostServer"];

            _emailService = new EmailService(smtpHostServer);
        }
 public TicketsController(IRepositoryTicketServiceSegregator repositoryTicketServices, IRepositoryAdminServiceSegregator repositoryAdminServices)
 {
     _repositoryTicketServices = repositoryTicketServices as RepositoryTicketServices;
     _repositoryAdminServices  = repositoryAdminServices as RepositoryAdminServices;
 }