in linq query ,it will use in asp.net core api
i want colored raw means if a personid has Actiontypyid=3 then actiontypeid =3 raw data
and another personid has only actionTypeId= 1 then actiontypeid =1 raw data
note:- actionTypeId=2 No Required
Id |
PersonId |
ActionTypeId |
Wheitage |
1 |
1 |
1 |
0.75 |
2 |
1 |
2 |
2.75 |
3 |
2 |
1 |
1.25 |
4 |
2 |
2 |
3.25 |
5 |
1 |
1 |
2.24 |
6 |
1 |
3 |
4.54 |
7 |
2 |
1 |
2.54 |