1
00:00:00,180 --> 00:00:00,900
Hello, friend.

2
00:00:00,930 --> 00:00:01,800
Welcome back.

3
00:00:02,280 --> 00:00:08,160
In a previous video, we have created one of the base as the editor artist and here we load our form

4
00:00:08,160 --> 00:00:08,540
right.

5
00:00:08,700 --> 00:00:10,460
And also define our idee.

6
00:00:10,470 --> 00:00:14,940
That means aspecific requested idy all the data all down is visible.

7
00:00:15,300 --> 00:00:17,680
So now to do if you click on the update.

8
00:00:17,700 --> 00:00:21,870
That means if you want to change that fast, name the last name and the installment.

9
00:00:22,080 --> 00:00:25,130
And then if you click on the update then it should be updated.

10
00:00:25,560 --> 00:00:29,930
So when it will be updated, that means you will be just installed this data again.

11
00:00:30,060 --> 00:00:30,410
Right.

12
00:00:30,540 --> 00:00:33,570
So Forte's 2.0, I have already defined this part.

13
00:00:33,570 --> 00:00:40,560
If you go to our view and the view, if you go to our musician form this function in the function,

14
00:00:40,560 --> 00:00:44,540
what exactly did they have already discussed about the things we do here?

15
00:00:44,550 --> 00:00:50,910
I created one of the object and then into this position I defined the condition, first of all, which

16
00:00:51,090 --> 00:00:57,570
is posted on R20 should be post a point which will be as a valid then it will save this data into our

17
00:00:57,570 --> 00:00:58,380
database table.

18
00:00:58,380 --> 00:00:58,640
Right.

19
00:00:58,920 --> 00:01:00,860
So that is actually our comet with this comet.

20
00:01:00,870 --> 00:01:02,250
I just simply defined as the true.

21
00:01:02,490 --> 00:01:04,380
That means it shall be saved, this data.

22
00:01:04,620 --> 00:01:09,150
And after that I just simply define when it should be that I will be safe, then it will be returned

23
00:01:09,150 --> 00:01:10,500
our index function.

24
00:01:10,740 --> 00:01:11,060
Right.

25
00:01:11,070 --> 00:01:13,410
So I have already discussed about the things we do.

26
00:01:13,620 --> 00:01:16,740
So now we have to do the same things because of all here.

27
00:01:16,740 --> 00:01:20,490
You can see in our edit artist, first of all, here I define two things.

28
00:01:20,520 --> 00:01:23,130
First of all, here is will be Lord, our form.

29
00:01:23,400 --> 00:01:26,460
That means the musician form and indeed the musician form.

30
00:01:26,460 --> 00:01:31,290
I our all that out is aspecific idy data for the regions here.

31
00:01:31,290 --> 00:01:35,190
I take one of the variable and is variable from our musicians table.

32
00:01:35,190 --> 00:01:39,390
I get all that our object with our ID right.

33
00:01:39,540 --> 00:01:44,220
So now I want to do, I want to actually define the same things because here we have to insert this

34
00:01:44,220 --> 00:01:44,910
data again.

35
00:01:44,910 --> 00:01:46,470
So here I want to update it.

36
00:01:46,470 --> 00:01:49,950
So if you want to do that work, it should be just like them better.

37
00:01:49,980 --> 00:01:53,130
I just simply copied, OK, I just simply copied.

38
00:01:53,550 --> 00:01:59,760
And now after this so after this, I want to do in particular that position.

39
00:01:59,760 --> 00:02:00,900
I just simply paste it.

40
00:02:01,210 --> 00:02:04,370
OK, so here I think you already know about it.

41
00:02:04,380 --> 00:02:05,820
So first of all, it's filled with checks.

42
00:02:05,820 --> 00:02:10,770
So here I have the final of the update button in our edit that we create.

43
00:02:10,770 --> 00:02:15,090
At least if we go to that elitist here, you can see the result of the method as a post method.

44
00:02:15,480 --> 00:02:16,980
So have already defined this post.

45
00:02:16,980 --> 00:02:24,060
Methods are now first of all, it's we check is posted or not, and then in our forms and musician musician

46
00:02:24,060 --> 00:02:24,390
form.

47
00:02:24,420 --> 00:02:28,380
So I have already created this class in our model into the model.

48
00:02:28,470 --> 00:02:31,110
So not model that is actually the form in the form.

49
00:02:31,110 --> 00:02:36,540
I have already defined this class as a musician from class right into this musician from class.

50
00:02:36,540 --> 00:02:39,060
I have already loaded all that our filled.

51
00:02:39,510 --> 00:02:41,250
So now here I defined this.

52
00:02:41,250 --> 00:02:44,400
So that is our model and that is our request that we are post.

53
00:02:44,640 --> 00:02:48,700
And then I just simply define if it's valid then it shall be saved.

54
00:02:48,700 --> 00:02:49,320
This data.

55
00:02:49,620 --> 00:02:54,630
But here, want this now we have to do we have to save this data with a specific ID.

56
00:02:54,900 --> 00:02:55,320
Right.

57
00:02:55,590 --> 00:02:59,710
So here if you want to save this data, that means this data is what I did data.

58
00:02:59,940 --> 00:03:05,490
So I have to do I have to save this data with this on any data that means the requested data.

59
00:03:05,500 --> 00:03:11,550
So if you want to save this data with a specific ID for the results in our, you know, our function,

60
00:03:11,550 --> 00:03:15,840
that means in our function request, I have already defined our data as an artist.

61
00:03:15,840 --> 00:03:21,480
Idy So now also we have to do we have to pass it before you can see into the submission form area.

62
00:03:21,480 --> 00:03:28,320
I have already loaded our all that is specific requested IRI data, so now we have to also define these

63
00:03:28,320 --> 00:03:28,680
things.

64
00:03:28,980 --> 00:03:31,950
So here we have to define that things in our form.

65
00:03:31,980 --> 00:03:37,230
That means our disposition form into the request post and the request post area.

66
00:03:37,230 --> 00:03:42,590
We have to define our this all the data that is specific, all the data.

67
00:03:42,600 --> 00:03:46,170
So here I defining it with the artist info.

68
00:03:46,380 --> 00:03:51,110
So here you have to pass it right front and after that it should be just like the same.

69
00:03:51,180 --> 00:03:54,350
If it is actually valid then it should be saved, this data.

70
00:03:54,360 --> 00:04:01,110
So I just simply say this about with the comet and our true OK and when should we save this data.

71
00:04:01,110 --> 00:04:05,820
That means after when you update it then I want to do I want to reject it to our album.

72
00:04:05,820 --> 00:04:07,830
Leave Space for the album space.

73
00:04:07,830 --> 00:04:11,270
I have already defined another function if you go.

74
00:04:12,820 --> 00:04:18,550
Here you can see I have already defined another function as the album list, so here I want to do Undeposited.

75
00:04:18,550 --> 00:04:19,690
So into the album list.

76
00:04:19,690 --> 00:04:25,670
Here I have defined the request and our artist I.D. so shall be simply the key to our D.C. area.

77
00:04:26,110 --> 00:04:33,820
So now I want to do here I want to define the return and into the deep down, I want to pass a pointer

78
00:04:33,820 --> 00:04:34,990
to be perfectly safe.

79
00:04:35,020 --> 00:04:40,840
This data also will dictate dictator album list functionality with this request and also that is our

80
00:04:40,840 --> 00:04:41,310
ID.

81
00:04:41,410 --> 00:04:46,450
So it is a specific ID it be returned and that's all you have to do.

82
00:04:46,480 --> 00:04:49,000
I think it should be very much clear to you.

83
00:04:49,220 --> 00:04:50,910
So it be just like that.

84
00:04:50,920 --> 00:04:54,880
Same here only we have to do we have to pass our existing data.

85
00:04:54,880 --> 00:04:57,710
That means our existing aspecific ID data.

86
00:04:57,760 --> 00:04:58,130
Right.

87
00:04:58,510 --> 00:04:59,650
So that's all.

88
00:04:59,770 --> 00:05:01,040
That's all you have to do.

89
00:05:01,060 --> 00:05:02,130
Now, let's check this out.

90
00:05:02,140 --> 00:05:06,320
If you know Gleek as a Savol, I just click on the Save All.

91
00:05:07,030 --> 00:05:09,090
So first of all, I want to check it.

92
00:05:09,550 --> 00:05:10,930
Everything is perfect.

93
00:05:11,350 --> 00:05:14,110
Now go here, go to our home again.

94
00:05:14,110 --> 00:05:20,980
Go to the Calgarian, because the easy to sell will dictate to our this album live space with it.

95
00:05:20,980 --> 00:05:21,260
Right.

96
00:05:21,580 --> 00:05:25,510
So for the originals here, you can see I just simply defined as the album list, which will be redacted

97
00:05:25,720 --> 00:05:30,020
and with this request and also it's rejected with our specific idea.

98
00:05:30,790 --> 00:05:31,530
Let's check this out.

99
00:05:31,540 --> 00:05:33,730
I want to do want to edit it, click on the edit.

100
00:05:34,180 --> 00:05:43,240
So I want to edit our first name as a one last name as a Colombian one and also sorry, one and also

101
00:05:43,240 --> 00:05:43,630
one.

102
00:05:43,750 --> 00:05:45,370
OK, now click on the update.

103
00:05:46,180 --> 00:05:47,440
Yes.

104
00:05:47,440 --> 00:05:48,280
Now, friend.

105
00:05:48,300 --> 00:05:50,650
Now our artist is updated.

106
00:05:50,660 --> 00:05:53,320
That means Kazue first name one is updated.

107
00:05:53,530 --> 00:06:00,310
Our last name is updated or in this domain name is also updated and updated by default.

108
00:06:00,310 --> 00:06:05,550
You can see it's not redacted to which is now redacted to our editor is faced with the idea.

109
00:06:06,040 --> 00:06:07,990
I think it should be very much clear to you.

110
00:06:08,260 --> 00:06:14,200
So when it will be safe then I just simply defined as a return album list function into the album list

111
00:06:14,200 --> 00:06:14,650
function.

112
00:06:14,650 --> 00:06:16,570
I have already defined our pace.

113
00:06:17,270 --> 00:06:22,700
If you go our album list into the album list place, you can see I have defined our album list based

114
00:06:22,740 --> 00:06:29,960
upon the album list and here also I define and other things which will be redacted with these secrets

115
00:06:29,960 --> 00:06:30,940
that been sequestered.

116
00:06:30,940 --> 00:06:35,280
All the data with our IDs, for the reasons you can see, it's not showing us it.

117
00:06:35,290 --> 00:06:40,830
It is Tamalpais and with our ID now if you go again our Jackson.

118
00:06:41,230 --> 00:06:42,760
So now here I it.

119
00:06:42,760 --> 00:06:44,410
So that is the idea.

120
00:06:44,410 --> 00:06:44,980
The two.

121
00:06:45,580 --> 00:06:52,540
I want to update it because the update now can see only our first name is updated and after that is

122
00:06:52,540 --> 00:06:55,840
selected to our edit artist with a specific idea.

123
00:06:56,110 --> 00:06:57,490
So how much easier it is.

124
00:06:57,490 --> 00:07:04,060
I think every line it should be very clear to you because we already know that mean basic things friend.

125
00:07:04,330 --> 00:07:07,900
So if you already know about that basic, you can see everything.

126
00:07:07,900 --> 00:07:12,430
It should be very much easy to you because of all everything is the same here.

127
00:07:12,430 --> 00:07:18,900
I only want to do I want to update our existing this data with data I get with our specific ID that

128
00:07:18,910 --> 00:07:20,360
this is our primary key here.

129
00:07:20,360 --> 00:07:21,550
I define already requested.

130
00:07:21,550 --> 00:07:25,990
I need these two crystalised means actually this that is actually requested I right.

131
00:07:26,350 --> 00:07:32,440
So here only we have to define that things in our investment area there solitaires all you have to do.

132
00:07:32,440 --> 00:07:34,450
So that's how you can actually update it.

133
00:07:34,600 --> 00:07:37,930
So friend here we successfully update our artist.

134
00:07:38,020 --> 00:07:41,440
So here we successfully, now we can change our artist name.

135
00:07:41,740 --> 00:07:43,150
So that is our second name.

136
00:07:43,150 --> 00:07:45,400
That means the last name and then instalment.

137
00:07:45,820 --> 00:07:49,600
So now they have also another option for the album.

138
00:07:49,600 --> 00:07:52,840
So if you want to update this album, how can do that work?

139
00:07:52,840 --> 00:07:55,990
In our next video, I will show you that things with the live example.

140
00:07:56,500 --> 00:07:58,090
So thanks for watching.

141
00:07:58,090 --> 00:07:59,830
I'll see you the next video.
