Example #1
0
        public void DeleteWinkelTest()
        {
            Winkel winkel = new Winkel("testwinkel");

            Repo.AddWinkel(winkel);
            Repo.DeleteWinkel(winkel.WinkelId);
            Assert.IsTrue(!Repo.GetWinkels().Contains <Winkel>(winkel));
        }
Example #2
0
 public ActionResult DeleteWinkel(int id)
 {
     Repo.DeleteWinkel(id);
     return(Ok());
 }