public ActionResult <Company> PatchAccount([FromODataUri] int key, [FromBody] CompanyRaw item) { if (!ModelState.IsValid) { BadRequest(ModelState); } var result = _repository.PatchUpdate(key, item); return(Ok(result)); }
public ActionResult <Company> PatchAccount([FromODataUri] int key, [FromBody] CompanyRaw item) { if (!ModelState.IsValid) { BadRequest(ModelState); } var result = _repository.PatchUpdate(key, item); return(Ok(result)); }