Exemplo n.º 1
0
        public ActionResult deleteInterest(int interestId)
        {
            var newInterestList = InterestRepository.DeleteInterest(interestId);

            return(Created("api/interestList", newInterestList));
        }
Exemplo 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());
        }