/// <summary> /// Кеширование. /// </summary> /// <param name="json1"></param> /// <param name="json3"></param> /// <param name="data"></param> /// <returns></returns> private static Document CacheDocument(Json1 json1, Json3 json3, string data) { var doc = new Document() { Title = json1.Title, Organization = json1.Organization_name, Topic = json1.Topic, Identifier = json1.Identifier, File = new File() { Data = data, Source = json3.Source, Format = json3.Format, }, }; documentContext.Add(doc); documentContext.SaveChanges(); return(doc); }
public void JsonInput3(Json3 json) { }