public ActionResult <Company> PutAccount([FromODataUri] int key, Company item)
        {
            if (!ModelState.IsValid)
            {
                BadRequest(ModelState);
            }

            var result = _repository.RealAll().SingleOrDefault(x => x.Id == key);

            if (result == null)
            {
                return(NotFound());
            }

            if (item.Id != key)
            {
                BadRequest(ModelState);
            }

            _repository.FullUpdate(result, item);

            return(Ok(result));
        }