public bool updateLastSent(long uid) { Mediator m = new Mediator(); UpdateLastSent updateLastSent = new UpdateLastSent(uid, DateTime.Now); return(m.updateLastSentHandler.Handle(updateLastSent)); }
public bool Handle(UpdateLastSent command) { bool res = false; if (command.command()) { res = true; } return(res); }