/// <inheritdoc />
        Task <Detalles> IRemoteService.CreateDetalle(Detalles detalle)
        {
            var arguments = new object[] { detalle };
            var func      = requestBuilder.BuildRestResultFuncForMethod("CreateDetalle", new Type[] { typeof(Detalles) });

            return((Task <Detalles>)func(Client, arguments));
        }
Exemplo n.º 2
0
        public async Task <Detalles> Save(Detalles value)
        {
            var remoteService = RestService.For <IRemoteService>("https://localhost:44362/api/");

            return(await remoteService.CreateDetalle(value));
        }