public async Task <ActionResult <HelloDogsItem> > PostHelloDogsItem(HelloDogsItem helloDogsItem)
        {
            m_context.HelloDogsItem.Add(helloDogsItem);
            await m_context.SaveChangesAsync();

            return(CreatedAtAction(nameof(GetHelloDogsItem), new { id = helloDogsItem.Id }, helloDogsItem));
        }
        public async Task <IActionResult> PutHelloDogsItem(long id, HelloDogsItem helloDogsItem)
        {
            if (id != helloDogsItem.Id)
            {
                return(BadRequest());
            }

            m_context.Entry(helloDogsItem).State = EntityState.Modified;

            try
            {
                await m_context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!HelloDogsItemExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }