Beispiel #1
0
        public JsonResult <Models.TaskDetails> GetTaskDetail(int id)
        {
            DataAccessLayer.TaskDetail TaskInfo = TaskEntities.GetTaskDetail(id);
            var task = new Models.TaskDetails();

            Models.TaskDetails obj = Mapper.Map <DataAccessLayer.TaskDetail, Models.TaskDetails>(TaskInfo);
            return(Json <Models.TaskDetails>(obj));
        }