public ActionResult ConfigureLogging() { var nlog = new BONlog(); LoggingConfigurationViewModel model = Mapper.Map<BONlog, LoggingConfigurationViewModel>(nlog); model.LogLevelList = new SelectList(_loggingService.GetLogLevels(), SelectLists.DataTextField, SelectLists.DataTextField, SelectLists.UnitializedSelectValue); model.Targets = new SelectList(_loggingService.GetTargets(), SelectLists.DataTextField, SelectLists.DataTextField, SelectLists.UnitializedSelectValue); ViewBag.EnableDisableControl = "EnableDisableControl();"; return View(model); }
public BONlogComparer(BONlog.Columns column, BONlog.SortDirections direction) { _column = column; _direction = direction; }