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); }