Skip to content

multiple methods usage in Controller class #6

Open
@te1m0z

Description

@te1m0z

Hello, thx for very informative video.
My class LoginController must contain several methods, such as validateData, checkExists, tryLogin etc.

How can this logic be better implemented? promises or try & catch ?

Thanks for the future response =)

image
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions