Files
mixtape/zero.Debug/Sync/CountryBlueprintHandler.cs
T
2020-10-06 16:00:27 +02:00

15 lines
352 B
C#

using Raven.Client.Documents.Session;
using zero.Core.Entities;
namespace zero.Debug.Sync
{
public class CountryBlueprintHandler : BlueprintHandler<ICountry>
{
protected override void OnBlueprintCreate(ICountry blueprint, ICountry model)
{
model.Code = blueprint.Code;
model.IsPreferred = blueprint.IsPreferred;
}
}
}