Beispiel #1
0
        public FlowwData CreateData(int flowId, string content = null)
        {
            var entry = new FlowwData
            {
                FlowwId = flowId,
                Content = content
            };

            DB.Floww_Datas.Add(entry);
            return(entry);
        }
Beispiel #2
0
 public int Save(FlowwData data)
 {
     DB.Floww_Datas.Add(data);
     DB.SaveChanges();
     return(data.ID);
 }