public async Task <IActionResult> UpdateQuests([FromRoute] int id, [FromBody] Quests tblQuests)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            if (id != tblQuests.QuestId)
            {
                return(BadRequest());
            }

            try
            {
                await questsService.Update(id, tblQuests);
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!TblQuestsExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }