CountyService Class
User: {mail: string, firstName: string, lastName: string, password: string, typeName: string, phone: string, points: number, countyId: number,active: number} County: {countyId: number, name: string}
Item Index
Methods
addCompanyCounties
(
-
json
POST /add_companyCounties
Parameters:
-
json
County
Returns:
void
addSubscription
(
-
json
POST /addSubscription
Parameters:
-
json
Object
Returns:
void
deleteSubscription
()
DELETE /deleteAllSubscribedCounties
Returns:
void
getAllCounties
()
County
GET /getAllCountiesMinusUsers
Returns:
County:
getCounties
()
County
GET /getCounties
Returns:
County:
getCountyEmployee
(
User
-
id
GET /getEmployeeData/:id
Parameters:
-
id
Number
Returns:
User:
getUsersCounties
()
County
GET /getSubscribedCounties
Returns:
County: