// GET api/Category/5
        public IHttpActionResult Get(int id)
        {
            categoryService = new CategoryService();
            var Category = categoryService.GetById(id);

            if (Category != null)
            {
                return(Ok(Category));
            }

            return(Content(HttpStatusCode.NotFound, APIMessageHelper.EntityNotFoundMessage("Category", id)));
        }
        // GET api/Complaint/5
        public IHttpActionResult Get(int id)
        {
            complaintService = new ComplaintService();
            var Complaint = complaintService.GetById(id);

            if (Complaint != null)
            {
                return(Ok(Complaint));
            }

            return(Content(HttpStatusCode.NotFound, APIMessageHelper.EntityNotFoundMessage("Complaint", id)));
        }
        // GET api/district/5
        public IHttpActionResult Get(int id)
        {
            districtService = new DistrictService();
            var district = districtService.GetById(id);

            if (district != null)
            {
                return(Ok(district));
            }

            return(Content(HttpStatusCode.NotFound, APIMessageHelper.EntityNotFoundMessage("District", id)));
        }
        // GET api/sdc/5
        public IHttpActionResult Get(int id)
        {
            sdcService = new SDCService();
            var sdc = sdcService.GetById(id);

            if (sdc != null)
            {
                return(Ok(sdc));
            }

            return(Content(HttpStatusCode.NotFound, APIMessageHelper.EntityNotFoundMessage("SDC", id)));
        }