public object getDifferences(int id)
        {
            string differences = _differenceRepository.determineDifferences(id);

            if (differences == null)
            {
                throw new HttpException(404, "Not Found");
            }

            return(JsonConvert.DeserializeObject <DifferenceResponse>(differences));
        }
Example #2
0
        public object getDifferences(int id)
        {
            string differences = _differenceRepository.determineDifferences(id);

            return(JsonConvert.DeserializeObject <DifferenceResponse>(differences));
        }