public static void Update(this Entities.Score score, Models.Score newScore) { score.LootSize = newScore.LootSize; score.LootValue = newScore.LootValue; score.Service = newScore.Service; score.Price = newScore.Price; }
public static Score ToDto(this Models.Score score) { return(new Score { LootSize = score.LootSize, LootValue = score.LootValue, Service = score.Service, Price = score.Price }); }