// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT

import {Call} from '@wailsio/runtime';
/**
 * @typedef {import('./models').LoginUser} LoginUser
 */

/**
 * @function Login
 * @param userName {string}
 * @param password {string}
 * @returns {Promise<LoginUser>}
 **/
export async function Login(userName, password) {
	return Call.ByName("main.LoginService.Login", ...Array.prototype.slice.call(arguments, 0));
}
