public void DeleteHobbyFromUser(int userId, int hobbyId)
 {
     _repository.DeleteHobbyFromUser(userId, hobbyId);
 }
Beispiel #2
0
        public IActionResult DeleteHobbyFromUser([FromBody] int userId, int hobbyId)
        {
            _repository.DeleteHobbyFromUser(userId, hobbyId);

            return(Ok());
        }