Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Populate dropdown list of makes | 2f990816aa06a5c1157792e7194118e8f27edd01 | Antonio Calatayud | 2018-11-16 21:57:05 |
Create service to bring makes | 4392eaef90093371844491026c771439cb43907e | Antonio Calatayud | 2018-11-16 21:54:02 |
Start form | 73244c2b63ba957d2a8212d32b7a18114a6a4e72 | Antonio Calatayud | 2018-11-16 21:52:19 |
Add routing to new component | 51ae297856214503a62716a9fc841db611cb7b1e | Antonio Calatayud | 2018-11-16 21:22:58 |
Create new component for vehicle form | 774a1e6105d82f115c5002db0b6a66429f7d7f04 | Antonio Calatayud | 2018-11-16 21:13:06 |
Add API with mapping | e2a22c67e3d34c4125adf5bec2c3b1dd319b999b | Antonio Calatayud | 2018-11-13 18:14:15 |
Add feature Model and seed | 83b852e4e3e045b110d412d4c072cffdd43b5015 | Antonio Calatayud | 2018-11-13 17:56:09 |
Create api for makes with mapping | 0090cccd2af8016cc3d8ebe0c690ec9c8be1f9ba | Antonio Calatayud | 2018-11-13 17:16:29 |
Seed DB with test records | 290f03be73cde265adeb436d9083f848e335d0ad | Antonio Calatayud | 2018-11-13 13:00:38 |
Add first Migration | f7dbe278633d37cb84371ff9872f2999d1551d23 | Antonio Calatayud | 2018-11-13 11:18:29 |
Add DbContext | 63523201e374cd186a873d405395cec6eefd989d | Antonio Calatayud | 2018-11-13 11:13:33 |
Add models | 10cb5370ddb34a9afdaa0ae964c2ee540821462b | Antonio Calatayud | 2018-11-09 18:11:22 |
First commit | 3033c730b731b08ad5198975d238635007575714 | Antonio Calatayud | 2018-11-09 17:09:28 |
File | Lines added | Lines deleted |
---|---|---|
ClientApp/src/app/services/make.service.ts | 0 | 1 |
ClientApp/src/app/vehicule-form/vehicule-form.component.html | 2 | 0 |
File ClientApp/src/app/services/make.service.ts changed (mode: 100644) (index 6148c61..f6b65a0) | |||
... | ... | export class MakeService { | |
8 | 8 | constructor(private http: Http) { } | constructor(private http: Http) { } |
9 | 9 | ||
10 | 10 | getMakes(){ | getMakes(){ |
11 | console.log("here"); | ||
12 | 11 | return this.http.get('/api/makes') | return this.http.get('/api/makes') |
13 | 12 | .map(res => res.json()); | .map(res => res.json()); |
14 | 13 | } | } |
File ClientApp/src/app/vehicule-form/vehicule-form.component.html changed (mode: 100644) (index 21a44f0..e6892f1) | |||
3 | 3 | <div class="form-group"> | <div class="form-group"> |
4 | 4 | <label for="make">Make</label> | <label for="make">Make</label> |
5 | 5 | <select id="make" class="form-control"> | <select id="make" class="form-control"> |
6 | <option value=""></option> | ||
7 | <option *ngFor="let m of makes" value="{{m.id}}">{{m.name}}</option> | ||
6 | 8 | </select> | </select> |
7 | 9 | </div> | </div> |
8 | 10 | <div class="form-group"> | <div class="form-group"> |