// GET: api/ImgCategory/5
 public object Get(int id)
 {
     if (id == 0)
     {
         return(Json(new { status = 0, message = Imgs.GetImgs().OrderBy(a => a.id) }));
     }
     else
     {
         return(Json(new { status = 0, message = Imgs.GetImgs().Where(a => a.id == id) }));
     }
 }
 // GET: api/ImgCategory
 public object Get()
 {
     return(Json(new { status = 0, message = Imgs.GetImgs().Distinct(new ImgsComparer()) }));
 }
 // GET api/<controller>/5
 public object Get(int id)
 {
     return(Json(new { status = 0, message = Imgs.GetImgs().Where(a => a.subid == id) }));
 }