public async Task <string> PostPlanillaAsync(CertPostModel data) { var planilla_Api = RestService.For <IPlanillaServiceApi>(ApiEndPoints.API_SERVICE_URL, _AuthService.Rs); var result = await planilla_Api.PostPlanillaAsync(data); return(result); }
} // GetUIPlanillaAsync(int mesaNro) public async Task <Response <object> > PostPlanillaAsync(CertPostModel dataToPost) { var apiResult = await planillasApi.Post(ApiEndPoints.API_SERVICE_URL, ApiPrefixes.API_PREFIX, "/planilla/post", dataToPost, authService.Token.AccessToken); if (!apiResult.IsSuccess) { return new Response <object> { IsSuccess = false, Message = "Error de conectividad !" } } ; return(apiResult); } // PostPlanillaAsync } // class PlanillasService