示例#1
0
 // todo|jdevl32: ??? is making protected the best solution ???
 // todo|jdevl32: ??? ...and then...how to handle default display name ???
 /// <inheritdoc />
 /// <remarks>
 /// Last modification:
 /// Refactor loggable logger category name.
 /// </remarks>
 protected APRController(IHostingEnvironment hostingEnvironment, ILoggerFactory loggerFactory, IMapper mapper, IInformableUniqueIntEntityContextRepository <RevolvingCreditContext, APR> informableUniqueIntEntityContextRepository, string displayName)
     :
     base(hostingEnvironment, loggerFactory, mapper, informableUniqueIntEntityContextRepository, displayName)
 {
 }
示例#2
0
        // todo|jdevl32: can the repository be refactored (see startup.cs) ???

        /// <inheritdoc />
        /// <remarks>
        /// Last modification:
        /// Refactor (default) display name (from APR (type) sower).
        /// </remarks>
        public APRController(IHostingEnvironment hostingEnvironment, ILoggerFactory loggerFactory, IMapper mapper, IInformableUniqueIntEntityContextRepository <RevolvingCreditContext, APR> informableUniqueIntEntityContextRepository)
            :
            this(hostingEnvironment, loggerFactory, mapper, informableUniqueIntEntityContextRepository, APRSower.DefaultDisplayName)
        {
        }