public static bool AddMunkiTemplates(List<Models.ComputerMunki> listOfTemplates) { using (var uow = new DAL.UnitOfWork()) { foreach (var template in listOfTemplates) uow.ComputerMunkiRepository.Insert(template); return uow.Save(); } }