EnVisageOnline/Beta/Source/EnVisage/Controllers/UtilsController.cs

45 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EnVisage.Code;
namespace EnVisage.Controllers
{
public class UtilsController : Controller
{
//
// GET: /Utils/
[HttpGet]
public ActionResult GetExpentitureCategoryTypes()
{
return Json(Utils.GetCategoryTypes(), JsonRequestBehavior.AllowGet);
}
[HttpGet]
public ActionResult GetCGEFX()
{
return Json(Utils.GetCGEFX(), JsonRequestBehavior.AllowGet);
}
[HttpGet]
public ActionResult GetIncomeTypes()
{
return Json(Utils.GetIncomeTypes(), JsonRequestBehavior.AllowGet);
}
[HttpGet]
public ActionResult GetGLAccounts()
{
return Json(Utils.GetGLAccounts(), JsonRequestBehavior.AllowGet);
}
[HttpGet]
public ActionResult GetCreditDepartments()
{
return Json(Utils.GetCreditDepartments(), JsonRequestBehavior.AllowGet);
}
[HttpGet]
public ActionResult GetTeams()
{
return Json(Utils.GetTeams(), JsonRequestBehavior.AllowGet);
}
}
}