public async Task <ActionResult <Movies> > PostMovies(Movies item) { _context.Movies.Add(item); await _context.SaveChangesAsync(); return(CreatedAtAction( nameof(GetMovies), item)); }
public async Task <ActionResult <Wishlist> > PostWishlist(Wishlist item) { _context.Wishlist.Add(item); await _context.SaveChangesAsync(); return(CreatedAtAction( nameof(GetWishlist), item)); }
public async Task <ActionResult <Users> > PostUsers(Users item) { _context.Users.Add(item); await _context.SaveChangesAsync(); return(CreatedAtAction( nameof(GetUsers), item)); }