public NotFoundApiResult(AtanetEntityName accessedEntity, long entityId)
 {
     this.AccessedEntityType = accessedEntity;
     this.AccessedEntityId   = entityId;
     this.Message            = $"{this.AccessedEntityType.ToString()} does not exist. The owner may have deleted it";
 }
Exemple #2
0
 public CreatedApiResult(AtanetEntityName createdEntity, long createdId)
 {
     this.Entity    = createdEntity;
     this.CreatedId = createdId;
 }