ITempService¶
Namespace: Rest_API.Services.Temp
Interface for accessing all temperature related functions.
Methods¶
GetCoordinates(Int32)¶
Retrieves the coordinates for the postalcode chosen by the admin if there is no entry in the database already.
Parameters¶
postalCode Int32
The postalcode of the city that was chosen by the admin.
Returns¶
ShowAvailableLocations()¶
Retrieves all postalcodes that are saved in the database for the user to chose from.
Returns¶
A list containing all postalcodes.