public List <HoursDTO> GetHours() { var returnList = new List <HoursDTO>(); foreach (var item in pssc.GetStoreHours()) { returnList.Add(HoursMapper.MapToDTO(item)); } return(returnList); }
public HoursDTO GetHour(int id) { return(HoursMapper.MapToDTO(pssc.GetStoreHour(id))); }