Exemple #1
0
        private static void SearchClubs()
        {
            AbpBootstrapper bootstrapper = new AbpBootstrapper();

            bootstrapper.Initialize();

            IClubAppService clubService = bootstrapper.IocManager.Resolve <IClubAppService>();
            //var result = clubService.SearchClubs(new CatchApp.Geodata.GeoPoint(46.599550, 14.270328));
        }
Exemple #2
0
 public ClubsController(IClubAppService clubAppService)
 {
     _clubAppService = clubAppService;
 }
 public ClubAppService_Tests()
 {
     _clubAppService      = LocalIocManager.Resolve <IClubAppService>();
     _memberRepository    = LocalIocManager.Resolve <IRepository <Member, long> >();
     _clubVisitRepository = LocalIocManager.Resolve <IRepository <ClubVisit> >();
 }
 public ClubSessionsController(IClubSessionAppService clubSessionAppService, IClubAppService clubAppService)
 {
     _clubSessionAppService = clubSessionAppService;
     _clubAppService        = clubAppService;
 }
 public MainWindow()
 {
     InitializeComponent();
     _clubAppService = IocManager.Instance.Resolve <IClubAppService>();
     _userManager    = IocManager.Instance.Resolve <UserManager>();
 }