public IHttpActionResult GetFilters()
 {
     BLL.ReportDeliveryShedule bll = new BLL.ReportDeliveryShedule();
     Library.DTO.Notification  notification;
     DTO.ReportDeliveryShedule.SupportDataContainer result = bll.GetFilters(out notification);
     return(Ok(new Library.DTO.ReturnData <DTO.ReportDeliveryShedule.SupportDataContainer>()
     {
         Data = result, Message = notification, TotalRows = 0
     }));
 }
        public IHttpActionResult Print(string ClientNM, string ETA, string ContainerNo, string Season, int SaleID)
        {
            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.ReportDeliveryShedule bll = new BLL.ReportDeliveryShedule();
            string reportFileName         = bll.GetReportDeliveryShedule(ClientNM, ETA, ContainerNo, Season, SaleID, ControllerContext.GetAuthUserId(), out notification);

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