public HttpException saveRight([FromBody] RequestDifferenceInputHelper requestInput, int id)
        {
            if (requestInput == null)
            {
                throw new HttpException(404, "Not Found");
            }

            _differenceRepository.saveObject("right", requestInput, id);

            return(new HttpException(401, "Created"));
        }
Esempio n. 2
0
 public String saveRight([FromBody] RequestDifferenceInputHelper requestInput, int id)
 {
     return(_differenceRepository.saveObject("right", requestInput, id));
 }