public ActionResult deleteInterest(int interestId) { var newInterestList = InterestRepository.DeleteInterest(interestId); return(Created("api/interestList", newInterestList)); }
public ActionResult DeleteInterest(int id, int userId) { var interestsListAfterDeletion = _interestRepository.DeleteInterest(id, userId); return(Ok(interestsListAfterDeletion)); }
public ActionResult DeleteInterest(int userId) { _interestRepository.DeleteInterest(userId); return(Ok()); }