public static async Task <GrpcVoid> RunAutoUpdate(GrpcVoid req) { try { return(await Client.RunAutoUpdateAsync(req)); } catch (Exception) { throw; } }
public override async Task <GrpcVoid> RunAutoUpdate(GrpcVoid request, ServerCallContext context) { try { return(await Controller.RunAutoUpdate()); } catch (Exception e) { throw HandleException(e); } }
public override async Task <GrpcStringResponse> GetAppToken(GrpcVoid request, ServerCallContext context) { try { return(await MainController.GetAppToken()); } catch (Exception e) { throw HandleException(e); } }
public async Task <IActionResult> GetPackageWatcherRoutineState() { try { var req = new GrpcVoid(); return(new ContentResult()); } catch (Exception) { throw; } }
public async Task RunAutoUpdate() { try { var req = new GrpcVoid(); await ShippingClient.RunAutoUpdate(req); } catch (Exception) { throw; } }
public static async Task <GrpcStringResponse> GetAppId() { try { var request = new GrpcVoid(); return(await Client.GetAppIdAsync(request)); } catch (Exception) { throw; } }