예제 #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));
 }