1 changed files with 24 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||
using System; |
|||
using System.Web.Mvc; |
|||
using System.Collections.Generic; |
|||
|
|||
using Pingchuan.BeijingSafeguard.BLL; |
|||
using Pingchuan.BeijingSafeguard.Model; |
|||
|
|||
namespace Pingchuan.BeijingSafeguard.App.Controllers |
|||
{ |
|||
public class TaskController : BaseController |
|||
{ |
|||
public ActionResult Index() |
|||
{ |
|||
return View(); |
|||
} |
|||
|
|||
[HttpPost] |
|||
public JsonResult GetList(DateTime fromDate, DateTime toDate) |
|||
{ |
|||
List<TaskDTO> tasks = TaskBLL.GetList(fromDate, toDate); |
|||
return Json(tasks); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue