2 actions in one method - C#