Exemplo n.º 1
0
        public IActionResult Update(string id, MapObject mo)
        {
            var modelObject = _objectService.GetbyId(id);

            if (modelObject == null)
            {
                return(BadRequest("Update không thành công"));
            }
            _objectService.Update(id, mo);
            return(Ok());
        }