Ejemplo n.º 1
0
 def put(self, _id=None):
     if _id is None:
         return "Please provide valid id"
     record = request.get_json()
     return modify_record(col_clothType, _id, record['data'])
Ejemplo n.º 2
0
 def put(self, _id=None):
     if _id is None:
         return "Please provide valid id"
     record = request.get_json()
     return modify_record(col_tailorProductRelation, _id, record['data'])