BAL.Manager.CoordinatesManager.GetCoordinatesRange C# (CSharp) Method

GetCoordinatesRange() public method

Get records of Coordinates betwen fromTime and toTime
public GetCoordinatesRange ( System.DateTime fromTime, System.DateTime toTime ) : IEnumerable
fromTime System.DateTime Start Time
toTime System.DateTime End Time
return IEnumerable
        public IEnumerable<CoordinatesDTO> GetCoordinatesRange(DateTime fromTime, DateTime toTime)
        {
            var coords = uOW.CoordinatesHistoryRepo.Get().
                Where(s => (s.AddedTime > fromTime && s.AddedTime < toTime)).ToList();
            IEnumerable<CoordinatesDTO> coordDTO = new List<CoordinatesDTO>();
            foreach (var coordin in coords)
            {
                Mapper.Map<CoordinatesDTO>(coordin);
            }
            return coordDTO;
        }