Hong Phuc
06/26/2025, 1:49 AMUserServices
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