public void DeleteWinkelTest() { Winkel winkel = new Winkel("testwinkel"); Repo.AddWinkel(winkel); Repo.DeleteWinkel(winkel.WinkelId); Assert.IsTrue(!Repo.GetWinkels().Contains <Winkel>(winkel)); }
public ActionResult DeleteWinkel(int id) { Repo.DeleteWinkel(id); return(Ok()); }