// import { JobService } from './../job.service';
import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
// import { Job } from '../Job';


@Component({
  moduleId: module.id,
  selector: 'app-calender',
  templateUrl: './calender.component.html',
  styleUrls: ['./calender.component.css']
})
export class CalenderComponent implements OnInit {
  jobs: any;

  // constructor(private http: HttpClient, private service: JobService) { }

  Text = '';

  ngOnInit() {
    // this.getJobs();
   }
  // getJobs() {
  //   this.service.getJob().subscribe(res => {
  //     this.jobs = res;
  //   });
  // }

  // deleteJob(id) {
  //   this.service.deleteJob(id).subscribe(res => {
  //     console.log('Deleted');
  //     this.getJobs();

  //   });
  // }

}
