public async Task <object> ActivateUserById(Guid userId) { var response = await _userLogic.ActivateUserById(userId); if (response) { return(_userValidations.UserActivatedSuccess()); } return(_userValidations.UserIdNotFound(userId)); }
public async Task <object> ActivateUserById(Guid userId) { var response = await _userLogic.ActivateUserById(userId); if (response) { return(_userValidations.UserActivatedSuccess()); } return(_userValidations.UserIdNotFound(userId)); }