Пример #1
0
 internal override Task <Location> GetEntityAsync(StorageContext context, ILocation data, CancellationToken cancellationToken)
 {
     return(Task.Run(() => EntityFactory.CreateLocation(data), cancellationToken));
 }
Пример #2
0
 internal override Location GetEntity(StorageContext context, ILocation data)
 {
     return(EntityFactory.CreateLocation(data));
 }