public ItemsController(IDocumentDBRepository <Item> Respository,
                        IConfiguration Configuration, INadaRepository nadaRepository,
                        IOptions <InternalProperties> internalProp)
 {
     this.Respository = Respository;
     _configuration   = Configuration;
     _nadaRepository  = nadaRepository;
     _internalProp    = internalProp.Value;
 }
Esempio n. 2
0
 public ItemController(IDocumentDBRepository <Item> Respository,
                       IConfiguration Configuration, INadaRepository nadaRepository,
                       IOptions <InternalProperties> internalProp, UserManager <ApplicationUser> userManager)
 {
     this.Respository = Respository;
     _configuration   = Configuration;
     _nadaRepository  = nadaRepository;
     _internalProp    = internalProp.Value;
     _userManager     = userManager;
 }