Beispiel #1
0
        public ActionResult AuditTrail()
        {
            AuditTrailCriteriaModel model = new AuditTrailCriteriaModel();

            model.FromDate = Const.StartDate;
            model.ToDate   = Const.EndDate;
            return(View(model));
        }
        public ActionResult AuditTrail()
        {
            AuditTrailCriteriaModel model = new AuditTrailCriteriaModel();

            model.SetOfBooks = sobService.GetByCompanyId(AuthenticationHelper.User.CompanyId)
                               .Select(x => new SelectListItem
            {
                Text  = x.Name,
                Value = x.Id.ToString()
            }).ToList();
            return(View(model));
        }