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")); }
public String saveLeft([FromBody] RequestDifferenceInputHelper requestInput, int id) { return(_differenceRepository.saveObject("left", requestInput, id)); }