public IActionResult Create([FromBody] PostalPlace PostalPlace)
 {
     if (PostalPlace == null)
     {
         return(BadRequest());
     }
     else
     {
         _context.postPostalPlace(PostalPlace);
         return(Ok("Data created"));
     }
 }
 public IActionResult Update(int id, [FromBody] PostalPlace PostalPlace)
 {
     _context.UpdatePostalPlace(id, PostalPlace);
     return(Ok("object updated"));
 }