public void UpdateEndpoints(EndpointConfiguration endpoints)
        {
            using (var entities = IdentityServerConfigurationContext.Get())
            {
                var entity = Mapper.Map<EndpointConfiguration, Endpoints>(endpoints);
                entity.Name = StandardConfigurationName;

                entities.Endpoints.Attach(entity);
                entities.Entry(entity).State = System.Data.EntityState.Modified;

                entities.SaveChanges();
                CacheRepository.Invalidate(EndpointConfigurationCacheKey);
                CacheRepository.Invalidate(Constants.CacheKeys.WSFedMetadata);
            }
        }
 public void UpdateEndpoints(EndpointConfiguration endpoints)
 {
     throw new NotImplementedException();
 }