List of commits:
Subject Hash Author Date (UTC)
Implement submit form 1e197fc2a202658d14526f2791b0a4a1dc4f568b Antonio Calatayud 2019-01-08 16:10:49
Biniding inputs to vehicle object d971e6fcc584e947b65547024fa9fd5407089b3e Antonio Calatayud 2019-01-08 16:04:25
Move Vehicle repository to UoW 440e32fd438f2143e1453e4504a383b3d09af016 Antonio Calatayud 2019-01-08 15:31:51
Move Models to Core and fix namespaces 7120645b3fb5c63653e56570280bf505d2dbf4ed Antonio Calatayud 2019-01-08 15:11:32
Start implementing UnitOfwork pattern d458f0ca3bced9b78880977ee11c3437633b7da0 Antonio Calatayud 2019-01-08 12:03:18
Move more context queries to repository 2cce05a668e039917d2c0967aa97eb3786dd5de2 Antonio Calatayud 2019-01-06 17:59:17
Start implementing repository pattern 1d0b0cd78bc861d0e0282a69e5d88b219efbb118 Antonio Calatayud 2019-01-06 17:37:57
Return all inf when update/added vehicle ef44980290b644244de12ad9e064ca6dcee0ac2b Antonio Calatayud 2019-01-04 16:51:50
Refactor to bring different vehicle resources between get & update/add 6980669ec37dab31b595af6fa1be6718eef4b4e1 Antonio Calatayud 2019-01-04 16:37:41
Implemented Get Vehicle d340e1c7dda6424e1e370465be03e4e7a74c0b3e Antonio Calatayud 2019-01-04 15:45:26
Implemented delete vehicle a07116dd194b102098b3e826680d374ad6f3660e Antonio Calatayud 2019-01-04 15:32:13
Implement update vehicle d52a39f524983c681a190023a40337425432c7a6 Antonio Calatayud 2019-01-04 15:23:19
Add Validation when creating a vehicle 7a0f75bba8507110d9d8e801969cdf7497fa15a8 antonio.calatayud 2019-01-02 16:40:39
Add vehicle to database capability fa84eb5a526a124b4ec7126271052611e0f57bb1 antonio.calatayud 2019-01-02 16:22:18
Fix Migrations e540688f04b874a8f3f5c95c6f31c640440b2921 antonio.calatayud 2019-01-02 15:51:37
Create controller and resource to create new vehicle a1c21acba62f5070cc61ffc4910218be3e52b052 Antonio Calatayud 2018-12-19 15:50:37
New vehicle model for context 1040629cd4f2931f0c4ebee6f5c505ebaff3d97b Antonio Calatayud 2018-11-26 17:43:04
Finish form 291cafcfa67fbfec687fc2d58e4fb70e8cb11975 Antonio Calatayud 2018-11-26 16:31:54
Merge services 385e874ea56eb15a14f983e94d5cbd444cc13ba7 Antonio Calatayud 2018-11-16 22:40:25
Populate feature checkboxes 1d31b1b0f70c96ceb04f375bb28affbdcc6bbf93 Antonio Calatayud 2018-11-16 22:30:32
Commit 1e197fc2a202658d14526f2791b0a4a1dc4f568b - Implement submit form
Author: Antonio Calatayud
Author date (UTC): 2019-01-08 16:10
Committer name: Antonio Calatayud
Committer date (UTC): 2019-01-08 16:10
Parent(s): d971e6fcc584e947b65547024fa9fd5407089b3e
Signing key:
Tree: f43d2f753d4a0594f3ee6cd76792021a92006550
File Lines added Lines deleted
ClientApp/src/app/services/vehicle.service.ts 5 0
ClientApp/src/app/vehicule-form/vehicule-form.component.html 1 1
ClientApp/src/app/vehicule-form/vehicule-form.component.ts 5 0
File ClientApp/src/app/services/vehicle.service.ts changed (mode: 100644) (index 17c7c35..55f1c81)
... ... export class VehicleService {
16 16 return this.http.get('/api/features') return this.http.get('/api/features')
17 17 .map(res => res.json()); .map(res => res.json());
18 18 } }
19
20 create(vehicle) {
21 return this.http.post('/api/vehicles', vehicle)
22 .map(res => res.json());
23 }
19 24 } }
File ClientApp/src/app/vehicule-form/vehicule-form.component.html changed (mode: 100644) (index cea0db6..d015759)
3 3 For debug For debug
4 4 {{vehicle | json }} {{vehicle | json }}
5 5 </p> </p>
6 <form>
6 <form (ngSubmit)="submit()">
7 7 <div class="form-group"> <div class="form-group">
8 8 <label for="make">Make</label> <label for="make">Make</label>
9 9 <select name="makeId" id="make" class="form-control" (change)="onMakeChange()" [(ngModel)]="vehicle.makeId"> <select name="makeId" id="make" class="form-control" (change)="onMakeChange()" [(ngModel)]="vehicle.makeId">
File ClientApp/src/app/vehicule-form/vehicule-form.component.ts changed (mode: 100644) (index c29c270..0e35de0)
... ... export class VehiculeFormComponent implements OnInit {
40 40 this.vehicle.features.splice(index, 1); this.vehicle.features.splice(index, 1);
41 41 } }
42 42 } }
43
44 submit(){
45 this.vehicleService.create(this.vehicle)
46 .subscribe(x => console.log(x));
47 }
43 48 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/antcalatayud/vega

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/antcalatayud/vega

Clone this repository using git:
git clone git://git.rocketgit.com/user/antcalatayud/vega

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main