public static void KWSLogKFileActivity(KFileActivity kFileActivity) { kFileActivity.InsertWhen = KConfig.GetKDateTimeUTC; kFileActivity.InsertWho = KConfig.GetCurrentUser; kFileActivity.IsActive = true; using (KDBContext db = new KDBContext()) { db.KFileActivity.Add(kFileActivity); db.SaveChanges(); } }
public void KWSLogKFileActivity(KFileActivity kFileActivity) { KRepKWSLog.KWSLogKFileActivity(kFileActivity); }