public function getUserGroupById($usergroupId)
 {
     $result = Usergroup::whereId($usergroupId)->first();
     //first() function in sql returns the first value of the selected column
     return $result;
 }