public RGHSettingsEntity(ObjectId _id, bool ShowInActivities, FTPSettingsEntity SelectedFtpSetting, IList <FTPSettingsEntity> FtpSettingList)
 {
     Id = _id;
     this.ShowInActivities   = ShowInActivities;
     this.SelectedFtpSetting = SelectedFtpSetting;
     this.FtpSettingList     = FtpSettingList;
 }
 public RGHSettingsEntity(RGHSettingsModel RGHSettingsModel)
 {
     Id = RGHSettingsModel.Id ?? ObjectId.NewObjectId();
     ShowInActivities   = RGHSettingsModel.ShowInActivities;
     SelectedFtpSetting = new FTPSettingsEntity(RGHSettingsModel.SelectedFtpSetting);
     foreach (var item in RGHSettingsModel.FtpSettingList)
     {
         FtpSettingList.Add(new FTPSettingsEntity(item));
     }
 }