public static KindDTO From(Kind kind) { var dto = new KindDTO(); dto.Name = kind.Name; dto.Type = kind.Type.ToString().ToLower(); return dto; }
public Wine(string name, Kind kind, Producer producer, double alcohol) { Name = name; Kind = kind; Producer = producer; Alcohol = alcohol; }
public KindCreated(Kind kind) { Kind = kind; }