Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Rs1;
- if (id != null)
- {
- Rs1 = _context.DwPropertyDetails.Select(x => new
- {
- Rs1Clm2 = totalTransAmount,
- Rs1Clm3 = x.Studio),
- Rs1Clm4 = x.OneBedroom),
- Rs1Clm5 = x.TwoBedroom),
- Rs1Clm6 = x.ThreeBedroom),
- Rs1Clm7 = x.Total),
- });
- }
- else
- {
- Rs1Clm2 = 0,
- Rs1Clm3 = 0,
- Rs1Clm4 = 0,
- Rs1Clm5 = 0,
- Rs1Clm6 = 0,
- Rs1Clm7 = 0,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement