private CompetitorDTO Map(tblCompetitor tbl)
 {
     var dto = new CompetitorDTO
                   {
                       MasterId = tbl.id,
                       DateCreated = tbl.IM_DateCreated,
                       DateLastUpdated = tbl.IM_DateLastUpdated,
                       StatusId = tbl.IM_Status,
                       Name = tbl.Name,
                       PhysicalAddress = tbl.PhysicalAddress,
                       PostalAddress = tbl.PostaAddress,
                       Telephone = tbl.Telephone,
                       ContactPerson = tbl.ContactPerson,
                       City = tbl.City,
                       Longitude = tbl.Longitude,
                       Lattitude = tbl.Lattitude
                   };
     return dto;
 }
 public Competitor Map(CompetitorDTO dto)
 {
     if (dto == null) return null;
     var competitor = Mapper.Map<CompetitorDTO, Competitor>(dto);
     return competitor;
 }