Pull out restaurants related function from admin to restaurant controllers