public EmailService()
 {
     servicesProxy = new ServicesProxy()
     {
         SettingsService = new SettingsService(), UserService = new UserService()
     };
     smtpSettings = servicesProxy.SettingsService.ParseMultipleSettings("SmtpSettings");
 }
 public TicketService(ServicesProxy servicesProxy, bool DetachGet = false)
 {
     detactGet        = DetachGet;
     ticketRepository = new TicketRepository {
         DetachGet = detactGet
     };
     this.servicesProxy = servicesProxy;
 }
 public TicketService(bool DetachGet = false)
 {
     detactGet        = DetachGet;
     ticketRepository = new TicketRepository {
         DetachGet = detactGet
     };
     servicesProxy = new ServicesProxy();
 }
Beispiel #4
0
 public MapsScheduleService(ServicesProxy ServicesProxy, Contracts.Data.Common.PublicSite.RequestState MapsSchedulesRequestState = null)
 {
     this.ServicesProxy             = ServicesProxy;
     this.MapsSchedulesRequestState = MapsSchedulesRequestState;
     init();
 }
Beispiel #5
0
 public ReportService(ServicesProxy servicesProxy = null)
 {
     this.servicesProxy = servicesProxy;
     reportRepository   = new ReportRepository(servicesProxy != null ? servicesProxy.RequestState : null);
 }