BLL.Computer.ComputersWithoutGroup C# (CSharp) Метод

ComputersWithoutGroup() публичный статический Метод

public static ComputersWithoutGroup ( string searchString, int limit ) : List
searchString string
limit int
Результат List
        public static List<Models.Computer> ComputersWithoutGroup(string searchString, int limit)
        {
            List<Models.Computer> listOfComputers;
            using (var uow = new DAL.UnitOfWork())
            {
                listOfComputers = uow.ComputerRepository.GetComputersWithoutGroup(searchString, limit);

            }
            foreach (var computer in listOfComputers)
                computer.Image = BLL.Image.GetImage(computer.ImageId);

            return listOfComputers;
        }