Example #1
0
        public void AddTurnOverType()
        {
            TurnOverTypes type = new TurnOverTypes();

            type.Name     = "KOL&招待";
            type.OwnerId  = Guid.Parse("86ecdaa6-9c84-41a1-aef8-f41e2cedf079");
            type.AimType  = Aim.Both;
            type.Comments = "KOL&招待";

            Assert.IsTrue(TurnOverTypesHanlder.AddTurnOverTypes(type));
        }
Example #2
0
 public bool AddTurnOverType([FromBody] TurnOverTypes type)
 {
     return(TurnOverTypesHanlder.AddTurnOverTypes(type));
 }