public Favourite Delete(int propertyId, int userId)
        {
            Favourite model = IFavouriteRepository.GetByPropertyAndUser(propertyId, userId);

            return(IFavouriteRepository.Delete(model));
        }
 public Favourite GetByPropertyAndUser(int propertyId, int userId)
 {
     return(IFavouriteRepository.GetByPropertyAndUser(propertyId, userId));
 }
Exemple #3
0
 public Favourite GetByPropertyAndUser(Guid propertyId, Guid userId)
 {
     return(IFavouriteRepository.GetByPropertyAndUser(propertyId, userId));
 }