示例#1
0
        private async Task <RequestEngineResult> AddRequest(TvRequests model, string requestOnBehalf)
        {
            await TvRepository.Add(model);

            // This is a new request so we should only have 1 child
            return(await AfterRequest(model.ChildRequests.FirstOrDefault(), requestOnBehalf));
        }