public IHttpActionResult Get(long feeNo, string name, string startDate, string endDate, int tag) { var response = service.QueryCasesTimeline(feeNo, startDate, endDate, tag); return(Ok(response)); }
public JsonResult Timeline(long feeNo, string name, string startDate, string endDate, int tag) { BaseResponse <CasesTimeline> result = tms.QueryCasesTimeline(feeNo, startDate, endDate, tag); return(Json(new { result = true, data = result.Data }, JsonRequestBehavior.AllowGet)); }