import { HttpService } from './httpService';
export class AccountService {
  constructor() { }
  static getInstance() {
    if (!AccountService.instance) {
      AccountService.instance = new AccountService();
    }
    return AccountService.instance;
  }
  async register(registerInput) {
    const headers = {
      'Content-Type': 'application/json',
    };
    let result = await HttpService.http.post('api/Account/Register', registerInput, {
      headers: headers
    });
    return result;
  }
  async forgotPassword(forgotPasswordInput) {
    let result = await HttpService.http.post('api/Account/Forgot-Password', forgotPasswordInput);
    return result;
  }
}
