Inheritance: BaseNotationModel, IEntity
コード例 #1
0
ファイル: TestObjects.cs プロジェクト: Frannsoft/FrannHammer
        public Notation Notation()
        {
            var notation = new Notation
            {
                Id = _notationCounter,
                LastModified = DateTime.Now,
                Name = "notation",
            };

            _notationCounter++;

            return notation;
        }
コード例 #2
0
 private Notation Post(Notation notation)
 {
     return ExecuteAndReturnCreatedAtRouteContent<Notation>(
         () => _controller.PostNotation(notation));
 }