Пример #1
0
        public async Task <TResult> PostAsync <TInput, TResult>(TInput input)
            where TInput : IApiInputDto
            where TResult : class, IApiResultDto
        {
            var attribute = GetApiUrl <TInput>();
            var url       = attribute.GetUrl();
            var result    = await apiContext.PostAsync <TResult>($"{url}", input);

            return(result);
        }