public void BatchDeleteTest()
        {
            Location v1 = new Location();
            Location v2 = new Location();

            using (var context = new DataContext(_seed, DBTypeEnum.Memory))
            {
                v1.Name = "bhVtNC";
                v2.Name = "GV9Ll";
                context.Set <Location>().Add(v1);
                context.Set <Location>().Add(v2);
                context.SaveChanges();
            }

            PartialViewResult rv = (PartialViewResult)_controller.BatchDelete(new string[] { v1.ID.ToString(), v2.ID.ToString() });

            Assert.IsInstanceOfType(rv.Model, typeof(LocationBatchVM));

            LocationBatchVM vm = rv.Model as LocationBatchVM;

            vm.Ids = new string[] { v1.ID.ToString(), v2.ID.ToString() };
            _controller.DoBatchDelete(vm, null);

            using (var context = new DataContext(_seed, DBTypeEnum.Memory))
            {
                Assert.AreEqual(context.Set <Location>().Count(), 0);
            }
        }