addFavorite

fun addFavorite(current: FavoriteResult)

Used to add a favorite to the database.

Parameters

current

the favorite to be added.