public async Task <int> UpdateAsync(ActivityLogVM activityLogVM) { var emailAlertEntity = Mapper.Map(activityLogVM, activityLog); var result = await activityLogRepository.UpdateAsync(emailAlertEntity); return(result); }
public async Task <IActionResult> ActivityLog() { CreateBreadCrumb(new[] { new { Name = "Home", ActionUrl = "#" }, new { Name = "Activity Log", ActionUrl = "/AppLog/ActivityLog" } }); BaseViewModel VModel = null; var result = await _AppLogService.GetAllActivityLog(); var TempVModel = new ActivityLogVM(); TempVModel.ActivityLogInfo = new AppGridModel <ActivitylogBM>(); TempVModel.ActivityLogInfo.Rows = result; VModel = await GetViewModel(TempVModel); return(View(VModel)); }
public InventoryCountsHub(ActivityLogVM activityLogVM, IUserAccountsRepo userAccountsRepo, CurrentClientsVM currentClientsVM, ServerSettings serverSettings) : base(activityLogVM, userAccountsRepo, currentClientsVM, serverSettings) { }