Beispiel #1
0
        public async Task <BaseResponseMessage> FavoriteService([FromBody] JObject json)
        {
            string           jsonRequest = json.ToString();
            RequestFavorites request     = new RequestFavorites();

            request = JsonConvert.DeserializeObject <RequestFavorites>(jsonRequest);

            return(await repository.FavoriteService(request));
        }