//fromDAO
        public static Location fromDAO(DAO.Location dao)
        {
            var dto = new Location();

            dto.LocationId          = dao.LocationId.Value;
            dto.LocationName        = dao.LocationName;
            dto.LocationAddress     = dao.LocationAddress;
            dto.LocationPhoneNumber = dao.LocationPhoneNumber;
            return(dto);
        }
        //toDAO
        public static DAO.Location toDAO(Location dto)
        {
            var dao = new DAO.Location();

            dao.LocationId          = dto.LocationId;
            dao.LocationName        = dto.LocationName;
            dao.LocationAddress     = dto.LocationAddress;
            dao.LocationPhoneNumber = dto.LocationPhoneNumber;
            return(dao);
        }