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

            return(Ok());
        }