public ActionResult DeleteGuild(int id)
        {
            var guildModelFromRepo = _repository.GetGuildById(id);

            if (guildModelFromRepo == null)
            {
                return(NotFound());
            }
            _repository.DeleteGuild(guildModelFromRepo);
            _repository.SaveChanges();

            return(NoContent());
        }