//
        // GET: /App/
        public ActionResult Index(Guid gid, string q = null, int o = 0, int c = 50)
        {
            if (o < 0) o = 0;
            if (c < 1) o = 1;
            if (c > 100) o = 100;

            var targets = new Targets();
            var groups = new Groups();

            var targetList = targets.SearchGroupTargets(gid, q, o, c);
            var group = groups.GetGroup(gid);

            var model = new TargetIndex()
            {
                TargetList = targetList,
                Group = group,
            };

            return View(model);
        }