public webobj.Status updateAuditLog(webobj.User webUser, webobj.ActivityLog webActivityLog) { AFIS360Common.User user = new AFIS360Common.User(); user.setPersonId(webUser.PersonId); user.setId(webUser.Id); AFIS360Common.ActivityLog activityLog = new AFIS360Common.ActivityLog(); List <string> webActivites = webActivityLog.Activity; foreach (string webActivity in webActivites) { activityLog.setActivity(webActivity); } DataAccess dataaccess = new DataAccess(); AFIS360Common.Status status = dataaccess.updateUserAuditLog(user, DateTime.Now, 0, activityLog); webobj.Status webStatus = new webobj.Status(); webStatus.StatusCode = status.getStatusCode(); webStatus.StatusDesc = status.getStatusDesc(); webStatus.AuditLogId = status.getAuditLogId(); return(webStatus); }
public void setActivityLog(ActivityLog activityLog) { this.activityLog = activityLog; }