public CEM guardarCEM(CEM cem) { try { List <Object> c = UTILS.POST("private/cem", "cem", AuthUser.token, cem.GetType(), cem); if (c == null || c.Count == 0) { return(null); } return((CEM)c[0]); } catch (Exception) { return(null); } }
public List <object> getCEM() { try { CEM cem = new CEM(); List <object> lstCEM = UTILS.GET("private/cem", "cem", AuthUser.token, cem.GetType()); if (lstCEM == null || lstCEM.Count == 0) { return(null); } return(lstCEM); } catch (Exception) { return(null); } }