init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
using System.IO;
|
||||
using System.Web.Mvc;
|
||||
using Kreta.BusinessLogic.Helpers;
|
||||
using Kreta.Resources;
|
||||
using Kreta.Web.Areas.Feljegyzes.Models;
|
||||
using Kreta.Web.Helpers;
|
||||
|
||||
namespace Kreta.Web.Areas.Hianyzas.Logic
|
||||
{
|
||||
public class AdminTanuloKozossegiSzolgalataiLLogic
|
||||
{
|
||||
public static ActionResult ExportKozossegiSzolgalat(AdminKozossegiSzolgalatokSearchModel model)
|
||||
{
|
||||
bool toroltElemek = false; // !ClaimManager.HasPackage(KretaClaimPackages.Ellenorzo.ClaimValue);
|
||||
|
||||
var co = model.ConvertModelToCo();
|
||||
|
||||
MemoryStream stream = new FeljegyzesHelper(ConnectionTypeExtensions.GetActiveSessionConnectionType()).GetTanulokKozossegiSzolgalatExcelExport(co, toroltElemek);
|
||||
var result = new FileStreamResult(stream, Core.Constants.ContentTypes.Xlsx) { FileDownloadName = FeljegyzesekResource.KozossegiSzolgalatExport };
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue