Interface UserControllerInterface


public interface UserControllerInterface
Interface for OldUserController. Contains methods for handling user related operations
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a list of all users
    saveUser(User user)
    Saves a new user
  • Method Details

    • getUsers

      List<User> getUsers()
      Retrieves a list of all users
      Returns:
      list of all users
    • saveUser

      User saveUser(User user)
      Saves a new user
      Parameters:
      user - the user to be saved
      Returns:
      the saved user