using System.Threading.Tasks; namespace WebApiClient { public class MyWebApi { public IMyWebApi api => HttpApi.Resolve(); public async Task PostToMes(RequestVM requestVM) { return await api.PostToMes(requestVM); } } }