Inheritance: BaseNotationModel, IEntity
示例#1
0
        public Notation Notation()
        {
            var notation = new Notation
            {
                Id = _notationCounter,
                LastModified = DateTime.Now,
                Name = "notation",
            };

            _notationCounter++;

            return notation;
        }
 private Notation Post(Notation notation)
 {
     return ExecuteAndReturnCreatedAtRouteContent<Notation>(
         () => _controller.PostNotation(notation));
 }