public EditCake(int id, Cake cake) { Id = id; this.CreateCake = new CreateCake() { Name = cake.Name, Amount = cake.Amount, Detailes = cake.Detailes }; }
public EditCake(int id, CreateCake createCake) { Id = id; this.CreateCake = createCake; }
public EditCake(int id, Cake cake) { Id = id; this.CreateCake = new CreateCake() { Name = cake.Name, Amount = cake.Amount, Detailes = cake.Detailes }; }
public EditCake(int id, CreateCake createCake) { Id = id; this.CreateCake = createCake; }