public JsonResponse Post([FromBody] SupplierModelView supplier)
 {
     try
     {
         _context.CreateSupplier(supplier);
         return(new JsonResponse(1, "", null));
     }
     catch (Exception ex)
     {
         return(new JsonResponse(-1, ex.Message, null));
     }
 }