public BowTieDetailsViewModel(int id, IBowTieService bowTieService)
 {
     _bowTieService = bowTieService;
     BowTie = _bowTieService.Get(id);
 }
        public void Edit(BowTie bowTie)
        {
            _connection.Update(bowTie);

        }
 public void Delete(BowTie bowTie)
 {
     _connection.Delete(bowTie);
   
 }
 public int Create(BowTie bowTie)
 {
     _connection.Insert(bowTie);
     return bowTie.ID;
 }