public async Task <ActionResult <MinisterioItem> > PostMinisterioItem(MinisterioItem item)
        {
            _context.MinisterioItens.Add(item);
            await _context.SaveChangesAsync();

            return(CreatedAtAction(nameof(GetMinisterioItem), new { id = item.Id }, item));
        }
        public async Task <IActionResult> PutMinisterioItem(int id, MinisterioItem item)
        {
            if (id != item.Id)
            {
                return(BadRequest());
            }

            _context.Entry(item).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(NoContent());
        }