示例#1
0
        public object Post(Reqstar request)
        {
            if (!request.Age.HasValue)
            {
                throw new ArgumentException("Age is required");
            }

            Db.Insert(request.TranslateTo <Reqstar>());
            return(Db.Select <Reqstar>());
        }
示例#2
0
 public void Options(Reqstar reqstar)
 {
 }