public IHttpActionResult GetSeasons()
        {
            BLL.ReportPAFF            bll     = new BLL.ReportPAFF();
            List <DTO.Support.Season> seasons = bll.GetSeasons();

            return(Ok(new Library.DTO.ReturnData <List <DTO.Support.Season> >()
            {
                Data = seasons
            }));
        }
        public IHttpActionResult GetReportPAFF(string season)
        {
            Library.DTO.Notification notification;

            // authentication
            Module.Framework.BLL fwBll = new Module.Framework.BLL();
            if (!fwBll.CanPerformAction(ControllerContext.GetAuthUserId(), moduleCode, Library.DTO.ModuleAction.CanPrint))
            {
                return(InternalServerError(new Exception(Properties.Resources.NOT_AUTHORIZED)));
            }
            BLL.ReportPAFF bll            = new BLL.ReportPAFF();
            string         reportFileName = bll.GetReportPAFF(season, out notification);

            return(Ok(new Library.DTO.ReturnData <string>()
            {
                Data = reportFileName, Message = notification
            }));
        }