public static DelegationEntity ToEntity(this DelegationSetting model)
 {
     return(model.ToEntity(DelegationRepository.DefaultPartitionKey));
 }
 public void Add(DelegationSetting setting)
 {
     NewContext.AddDelegation(setting.ToEntity());
 }