Пример #1
0
        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();
            }
        }
Пример #2
0
 public void KWSLogKFileActivity(KFileActivity kFileActivity)
 {
     KRepKWSLog.KWSLogKFileActivity(kFileActivity);
 }