示例#1
0
 public MenuController(IMenusService menusService, IMenuInfoService menuInfoService, GeneralFunctions generalFunctions, IListInfoService listInfoService, IListsService listsService)
 {
     _menusService     = menusService;
     _menuInfoService  = menuInfoService;
     _generalFunctions = generalFunctions;
     _listsService     = listsService;
     _listInfoService  = listInfoService;
 }
示例#2
0
 public BannerController(IBannerService bannerService, IBannerInfoService bannerInfoService, GeneralFunctions generalFunctions, IListInfoService listInfoService, IListsService listsService)
 {
     _bannerService     = bannerService;
     _bannerInfoService = bannerInfoService;
     _generalFunctions  = generalFunctions;
     _listsService      = listsService;
     _listInfoService   = listInfoService;
 }
示例#3
0
 public DashboardController(
     IEventsService eventsService,
     IListsService listsService,
     IPhotoAlbumsService photoAlbumsService)
 {
     this.eventsService      = eventsService;
     this.listsService       = listsService;
     this.photoAlbumsService = photoAlbumsService;
 }
 // ToDo: Add IFoodService
 public WallPostsViewComponent(
     IListsService listsService,
     IEventsService eventsService,
     IPhotoAlbumsService photoAlbumsService)
 {
     this.listsService       = listsService;
     this.eventsService      = eventsService;
     this.photoAlbumsService = photoAlbumsService;
 }
示例#5
0
        public void TestSetup()
        {
            pageService = new PageService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            journalService = new JournalService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            listsService = new ListsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            listItemsService = new ListItemsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            notesService = new NotesService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            separatorService = new SeparatorService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            statusService = new StatusService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            tagsService = new TagsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            userService = new UserService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());

            testPageId = ConfigurationSettings.AppSettings["backpack.pages.testpage"].ToString();
            testUserId = ConfigurationSettings.AppSettings["backpack.users.testuserid"].ToString();
            testInvalidUserId = ConfigurationSettings.AppSettings["backpack.users.testinvaliduserid"].ToString();
            testTagId = ConfigurationSettings.AppSettings["backpack.pages.testtagid"].ToString();
            testPageTitle = ConfigurationSettings.AppSettings["backpack.pages.testpagetitle"].ToString();
        }
示例#6
0
 public ListsController(IListsService listsService)
 {
     _listsService = listsService;
 }
示例#7
0
 public static XmlDocument DeleteList(IListsService service, string pageId, string listId)
 {
     return service.Destroy(pageId, listId);
 }
示例#8
0
 // list items
 public static XmlDocument CreateList(IListsService service, string pageId, string journalEntry)
 {
     return service.Create(pageId, "Created from test");
 }
示例#9
0
 public ListsApiController(IListsService listsService, UserManager <ApplicationUser> userManager)
 {
     this.listsService = listsService;
     this.userManager  = userManager;
 }
示例#10
0
 public ListsController(IListsService listsService, ILogger <ListsController> logger)
 {
     _listsService = listsService;
     _logger       = logger;
 }
示例#11
0
 public GeneralFunctions(IListInfoService listInfoService, IListsService listsService)
 {
     _listsService    = listsService;
     _listInfoService = listInfoService;
 }