public void Logout(LogoutDataModel obj) { using (var chatDb = new ChatDbEntities()) { chatDb.Logout(obj.UserId); } }
public void Logout(LogoutDataModel obj) { _dataManagerFactory.CreateAuthorizationDataManager().Logout(obj); }