public IHttpActionResult ChangeRoleInfo(ChangeRoleInfo role) { _messageDispatcher.SendCommand(role); return(Ok()); }
public IEnumerable Handle(ChangeRoleInfo c) { var item = Mapper.DynamicMap <RoleInfoChanged>(c); yield return(item); }