public async Task <int> UpdateAsync(ActivityLogVM activityLogVM)
        {
            var emailAlertEntity = Mapper.Map(activityLogVM, activityLog);
            var result           = await activityLogRepository.UpdateAsync(emailAlertEntity);

            return(result);
        }
示例#2
0
        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));
        }
示例#3
0
 public InventoryCountsHub(ActivityLogVM activityLogVM, IUserAccountsRepo userAccountsRepo, CurrentClientsVM currentClientsVM, ServerSettings serverSettings) : base(activityLogVM, userAccountsRepo, currentClientsVM, serverSettings)
 {
 }