示例#1
0
        //public VantagePointRepository(Models.VantagePointSettings settings)
        //{
        //    Settings = settings;
        //}

        /// <summary>
        /// using the IOptionsSnapshot will allow the application to reload the settings if necessary
        /// </summary>
        /// <param name="options"></param>
        public VantagePointRepository(IOptionsSnapshot <Models.VantagePointSettings> options)
        {
            Settings = options.Value;
        }
示例#2
0
 public bool SaveSettings(Models.VantagePointSettings model)
 {
     return(true);
 }