Пример #1
0
        public IHttpActionResult PutSanPham([FromBody] SanPham_OBJ obj)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            SanPham_BUS bus = new SanPham_BUS();

            bus.CapNhapSanPham(obj);

            return(StatusCode(HttpStatusCode.NoContent));
        }