Exemplo n.º 1
0
 public LandlordController(IAdvertRepository advertRepo,
                           IHostingEnvironment environment,
                           IAuthorizationService authService,
                           IOptions <MyPagingOptions> pagOptions)
 {
     advertRepository     = advertRepo;
     hostingEnvironment   = environment;
     authorizationService = authService;
     pagingOptions        = pagOptions.Value;
 }
Exemplo n.º 2
0
 public OfficerController(IAdvertRepository advRepository,
                          IOptions <MyPagingOptions> pagOptions)
 {
     advertRepository = advRepository;
     pagingOptions    = pagOptions.Value;
 }
Exemplo n.º 3
0
 public HomeController(IAdvertRepository advertRepo,
                       IOptions <MyPagingOptions> pagOptions)
 {
     advertRepository = advertRepo;
     pagingOptions    = pagOptions.Value;
 }