public JsonResult ImageValidation_FetchByID(string data) { // Calling the intermediator file and get the object file var ImgvalID_obj = Facade.Admin_ImageEdit(data); //Returing the Json to view return(Json(new { id = ImgvalID_obj.id, validation_type = ImgvalID_obj.validation_type, validation_message = ImgvalID_obj.validation_message, isactive = ImgvalID_obj.isactive })); }