コード例 #1
0
        public ActionResult <Company> PatchAccount([FromODataUri] int key, [FromBody] CompanyRaw item)
        {
            if (!ModelState.IsValid)
            {
                BadRequest(ModelState);
            }

            var result = _repository.PatchUpdate(key, item);

            return(Ok(result));
        }