public ActionResult deleteInterest(int interestId)
        {
            var newInterestList = InterestRepository.DeleteInterest(interestId);

            return(Created("api/interestList", newInterestList));
        }
Esempio n. 2
0
        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());
        }