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 |

Jignesh KumarRank #91 · 22.9K reputationPosted Jul 14, 2022, 11:41 PM EDT
Sandeep KumarRank #1,642 · 937 reputationPosted Jul 15, 2022, 1:18 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jul 15, 2022, 2:00 AM EDT
Sandeep KumarRank #1,642 · 937 reputationPosted Jul 15, 2022, 2:18 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jul 15, 2022, 4:58 AM EDT