Hi all, I’m currently having a class call `UserSer...
# getting-started
h
Hi all, I’m currently having a class call
UserServices
that contains all the CRUD operations for the
User
resource in my application. Is it a good idea to include functionalities like
LoginUser
and
LogoutUser
in the same
UserServices
class. I know that these functions belong to a different domains (Authentication vs CRUD), but since I’m trying to create resource-based api, I’m not sure where else to put these auth functions. Does anyone have any insight on how I should handle this? Thanks in advance