Пример #1
0
        public ActionResult Edit(long id)
        {
            ViewBag.ReportTypes     = new SelectList(WMS_ReportModel.GetReportType(), "Type", "Name");
            ViewBag.DataSourceTypes = new SelectList(WMS_ReportModel.GetDataSourceType(), "Type", "Name");
            WMS_ReportModel entity = m_BLL.GetById(id);

            return(View(entity));
        }
Пример #2
0
 public ActionResult Create()
 {
     ViewBag.ReportTypes     = new SelectList(WMS_ReportModel.GetReportType(), "Type", "Name");
     ViewBag.DataSourceTypes = new SelectList(WMS_ReportModel.GetDataSourceType(), "Type", "Name");
     return(View());
 }