Ejemplo n.º 1
0
 public ActionResult My(FireShareSearchViewModel model)
 {
     return RedirectToAction("my",
         new { DepartmentID = model.DepartmentID, Name = model.Name });
 }
Ejemplo n.º 2
0
 public ActionResult My(string Name = null, int DepartmentID = 0)
 {
     var fileCate = FileCateService.GetALL().ToList();
     var model = new FireShareSearchViewModel()
     {
         DepartmentID = DepartmentID,
         Name = Name
     };
     ViewBag.Data_DepartmentID = Utilities.GetSelectListData(
        DepartmentService.GetALL().Where(x => x.PID.Equals(null))
        , x => x.ID, x => x.Name, true, true);
     ViewBag.fileCate = fileCate;
     return View(model);
 }