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