public override void Update(ModUpdateLevel level, FrameEventArgs frameEventArgs) { base.Update(level, frameEventArgs); switch (level) { case ModUpdateLevel.PostEngine: { _euiManager.SendUpdates(); _voteManager.Update(); break; } } }
public void Update(UpdateVoteInput input) { Models.Vote output = Mapper.Map <UpdateVoteInput, Models.Vote>(input); _voteManager.Update(output); }