Exemplo n.º 1
0
        public void VibesImplementation_AddVibeCheck_AddsToDb()
        {
            var context = new DansWebsiteContext();

            var newVibe = new Vibes {
                VibeLevel = "1"
            };



            context.AddVibeCheck(newVibe);
            Assert.Pass();
        }
Exemplo n.º 2
0
        public void AddVibeCheck([FromBody] Vibes vibe)
        {
            DansWebsiteContext context = new DansWebsiteContext();

            context.AddVibeCheck(vibe);
        }
Exemplo n.º 3
0
        public IEnumerable <Vibes> GetAllVibes()
        {
            DansWebsiteContext context = new DansWebsiteContext();

            return(context.GetVibes());
        }