Beispiel #1
0
 //新增一筆user log 資料
 public async Task AddUserLogAsync(UserLog user)
 {
     _context.Add(user);
     await SaveAll();
 }
Beispiel #2
0
 public void Add(T entity)
 {
     _context.Add(entity);
 }