public ActionResult <UserInfo> GetData(Guid pUserID) { try { return(ActionResult <UserInfo> .SetSuccess("", repository.GetData(pUserID))); } catch (Exception ex) { return(ActionResult <UserInfo> .SetError(ex.Message, null)); } }