Controller Action sử dụng tài liệu upload
#region TÀI LIỆU BIÊN SOẠN NEW [UserAuthorize(RoleKey = "ThongTinGoiThau_ThemTaiLieuBienSoan")] public ActionResult ThemTaiLieuBienSoan(int idGoiThau) { return Redirect("/admin/TaiLieuBienSoan/ThemMoi?idThongTin=" + idGoiThau + "&tableName=GoiThau&urlReturn=" + "/dauthau/goithau/chitiet?idgoithau=" + idGoiThau); } [UserAuthorize(RoleKey = "ThongTinGoiThau_CapNhatTaiLieuBienSoan")] public ActionResult CapNhatTaiLieuBienSoan(long idTaiLieu, int idGoiThau) { return Redirect("/admin/TaiLieuBienSoan/CapNhat?idTaiLieu=" + idTaiLieu + "&urlReturn=" + "/dauthau/goithau/chitiet?idgoithau=" + idGoiThau); } [UserAuthorize(RoleKey = "ThongTinGoiThau_XemTaiLieuBienSoan")] public ActionResult XemTaiLieuBienSoan(long idTaiLieu) { return Redirect("/admin/TaiLieuBienSoan/ChiTiet?idTaiLieu=" + idTaiLieu); } [UserAuthorize(RoleKey = "CongViecNhan_XoaTaiLieuBienSoan")] public ActionResult XoaTaiLieuBienSoan(long idTaiLieu, int idGoiThau) { var mapTaiLieu = new mapTL_TaiLieuBienSoan(); mapTaiLieu.Xoa(idTaiLieu); return RedirectToAction("ChiTiet", new { idGoiThau = idGoiThau }); } #endregion