<commit_before>﻿using Abp.AspNetCore.OData.Controllers;
using Abp.Dependency;
using Abp.Domain.Repositories;
using AbpODataDemo.People;

namespace AbpODataDemo.Controllers
{
    public class PersonsController : AbpODataEntityController<Person>, ITransientDependency
    {
        public PersonsController(IRepository<Person> repository)
            : base(repository)
        {
        }
    }
}<commit_msg>Override base class methods to set DontWrapResult<commit_after>﻿using Abp.AspNetCore.OData.Controllers;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Web.Models;
using AbpODataDemo.People;
using Microsoft.AspNet.OData;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;

namespace AbpODataDemo.Controllers
{
    [DontWrapResult]
    public class PersonsController : AbpODataEntityController<Person>, ITransientDependency
    {
        public PersonsController(IRepository<Person> repository)
            : base(repository)
        {
        }

        public override Task<IActionResult> Delete([FromODataUri] int key)
        {
            return base.Delete(key);
        }

        public override IQueryable<Person> Get()
        {
            return base.Get();
        }

        public override SingleResult<Person> Get([FromODataUri] int key)
        {
            return base.Get(key);
        }

        public override Task<IActionResult> Patch([FromODataUri] int key, Delta<Person> entity)
        {
            return base.Patch(key, entity);
        }

        public override Task<IActionResult> Post(Person entity)
        {
            return base.Post(entity);
        }

        public override Task<IActionResult> Put([FromODataUri] int key, Person update)
        {
            return base.Put(key, update);
        }
    }
}
{'fraction_non_alphanumeric': 0.08666666666666667, 'fraction_numerical': 0.0, 'mean_word_length': 2.6905737704918034, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4559780', 'n_tokens_mistral': 514, 'n_tokens_neox': 515, 'n_words': 106}