//[Route("api/task/findpage")] public string FindPage(int Id) { List <Task> tasks = taskServices.FindTaskList(); return(JsonConvert.SerializeObject(taskServices.CreatePage(tasks, Id), new IsoDateTimeConverter { DateTimeFormat = "dd/MM/yyyy HH:mm" })); }