public String CreateToy(ToyWcf toyWcf)
 {
     if (toyWcf == null)
     {
         throw new ArgumentNullException("Toy");
     }
     repository.Add(InverseMap(toyWcf));
     return(toyWcf.Name);
 }
 public Toy InverseMap(ToyWcf toy)
 {
     if (toy == null)
     {
         return(null);
     }
     return(new Toy()
     {
         Id = toy.Id, Name = toy.Name, Price = toy.Price, Value = toy.Value
     });
 }