Exemple #1
0
 public ActionResult <object> Get(Guid?id)
 {
     try
     {
         Init();
         if (id != null && Guid.Empty != id)
         {
             return(_termService.GetTermId((Guid)id, ref _sbError));
         }
         return(null);
     }
     catch (Exception er)
     {
         return(Error(er));
     }
 }