public ArticleController() { articleService = ServiceLocator.Current.GetInstance<IArticleService>(); articleLocaleService = ServiceLocator.Current.GetInstance<IArticleLocaleService>(); permissionService = ServiceLocator.Current.GetInstance<IPermissionCommonService>(); permissionsHelper = ServiceLocator.Current.GetInstance<IPermissionsHelper>(); categoryService = ServiceLocator.Current.GetInstance<ICategoryService>(); articleFileService = ServiceLocator.Current.GetInstance<IArticleFileService>(); }
public ArticleController() { articleService = ServiceLocator.Current.GetInstance <IArticleService>(); articleLocaleService = ServiceLocator.Current.GetInstance <IArticleLocaleService>(); permissionService = ServiceLocator.Current.GetInstance <IPermissionCommonService>(); permissionsHelper = ServiceLocator.Current.GetInstance <IPermissionsHelper>(); categoryService = ServiceLocator.Current.GetInstance <ICategoryService>(); articleFileService = ServiceLocator.Current.GetInstance <IArticleFileService>(); }