This commit is contained in:
Paul Schneider 2017-05-30 23:42:04 +02:00
commit 22d476ebce
10 changed files with 28 additions and 24 deletions

View file

@ -13,13 +13,13 @@ namespace Yavsc.Models.Haircut
{
// Bill description
public override string Description
public override string GetDescription()
{
get;
set;
var type = Startup.GlobalLocalizer[this.GetType().Name];
var gender = Startup.GlobalLocalizer[this.Prestation.Gender.ToString()];
return $"{type} ({gender})";
}
= "Prestation en coiffure à domicile";
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
override public long Id { get; set; }

View file

@ -24,13 +24,11 @@ namespace Yavsc.Models.Haircut
public class HairMultiCutQuery : NominativeServiceCommand
{
// Bill description
public override string Description
// Bill description
public override string GetDescription()
{
get;
set;
} = "Prestation en coiffure à domicile [commande groupée]";
return "Prestation en coiffure à domicile [commande groupée]";
}
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
override public long Id { get; set; }