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

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

            return(new HttpException(401, "Created"));
        }
Example #2
0
 public String saveLeft([FromBody] RequestDifferenceInputHelper requestInput, int id)
 {
     return(_differenceRepository.saveObject("left", requestInput, id));
 }