public ItemsController(IDocumentDBRepository <Item> Respository, IConfiguration Configuration, INadaRepository nadaRepository, IOptions <InternalProperties> internalProp) { this.Respository = Respository; _configuration = Configuration; _nadaRepository = nadaRepository; _internalProp = internalProp.Value; }
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; }