public JsonResult Get(int id) { var reqUserId = new RequestUserId { Id = id }; var person = _personInfoService.GetPersonInfoById(reqUserId, null); return(new JsonResult(person)); }
public JsonResult Get(int id) { RequestUserId req = new RequestUserId { Id = id }; var person = _personService.GetPersonInfoById(req, null); //string outStr = JsonConvert.SerializeObject(person); return(new JsonResult(person)); }