Exemple #1
0
 public async Task DeleteUserActivityLogAsync(UserActivityLog userActivityLog)
 {
     context.UserActivityLogs.Remove(userActivityLog);
     await context.SaveChangesAsync();
 }
Exemple #2
0
 //Activity Logs Actions
 public async Task AddUserActivityLogAsync(UserActivityLog userActivityLog)
 {
     context.UserActivityLogs.Add(userActivityLog);
     await context.SaveChangesAsync();
 }