d645bce02b
- correzione metodi gestione apertura/chiusura nuovo PODL
34 lines
999 B
C#
34 lines
999 B
C#
using SteamWare;
|
|
using System.Collections.Generic;
|
|
using System.Web.Http;
|
|
|
|
namespace MP_MAG.Controllers
|
|
{
|
|
public class ReportConfController : ApiController
|
|
{
|
|
#region Public Methods
|
|
|
|
/// <summary>
|
|
/// Restituisce un array JSon x le conf dei report
|
|
/// GET: api/PrintQueueConf
|
|
/// </summary>
|
|
/// <returns>lista oggetto Json in formato SteamwareSDK.queueConf</returns>
|
|
public List<SteamWare.Reports.reportConf> Get()
|
|
{
|
|
List<SteamWare.Reports.reportConf> answ = MagData.MagDataLayer.man.reportConfJson;
|
|
// se vuoto... creo!
|
|
if (answ.Count == 0)
|
|
{
|
|
SteamWare.Reports.reportConf currConf = new SteamWare.Reports.reportConf()
|
|
{
|
|
name = "none",
|
|
template = "none.rdlc"
|
|
};
|
|
answ.Add(currConf);
|
|
}
|
|
return answ;
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |