private static IMessagingDataService GetDataService() { IMessagingDataService ds = ComponentFactory.GetComponent <IMessagingDataService>(); if (ds == null) { ds = new MessagingDataService(); ComponentFactory.RegisterComponentInstance <IMessagingDataService>(ds); } return(ds); }
public MessagingController(IMessagingDataService dataService) { _DataService = dataService; }
public MessagingController(IMessagingDataService dataService) { _DataService = dataService; }