Esempio n. 1
0
        public ElasticDeveloperData(ElasticDeveloperData data, CVKind isExtended)
        {
            Id         = data.Id;
            Name       = data.Name;
            ExternalCV = data.ExternalCV;

            if (isExtended == CVKind.Internal)
            {
                InternalCV = data.InternalCV;
            }
            else
            {
                InternalCV = "Internal CV is not available";
            }
        }
Esempio n. 2
0
 public void AddItem(ElasticDeveloperData item) //works
 {
     clientDeveloper.IndexDocument(item);
 }
Esempio n. 3
0
 public void UpdateDeveloperData(ElasticDeveloperData InsertData) //wokrs!
 {
     int InsertId       = InsertData.Id;
     var updateResponse = clientDeveloper.Update <ElasticDeveloperData, object>(InsertId, u => u.Doc(InsertData).RetryOnConflict(1));
 }