Example #1
0
        public async Task <IActionResult> Post()
        {
            var b = await _repository.InsertAsync(new SampleModel
            {
                Name = "test"
            }, true);

            return(Ok(b.Id));
        }