public void Delete(ListingModel listing) { _listingRepository.Delete(Mapper.Map<Listing>(listing)); }
public void Update(ListingModel listing) { _listingRepository.Update(Mapper.Map<Listing>(listing)); }
public void Add(ListingModel listing) { _listingRepository.Add(Mapper.Map<Listing>(listing)); }