예제 #1
0
 public IHttpActionResult ChangeRoleInfo(ChangeRoleInfo role)
 {
     _messageDispatcher.SendCommand(role);
     return(Ok());
 }
예제 #2
0
        public IEnumerable Handle(ChangeRoleInfo c)
        {
            var item = Mapper.DynamicMap <RoleInfoChanged>(c);

            yield return(item);
        }