bjorkstromm / gazorator

MIT License
31 stars 9 forks source link

(GH-11) Allow passing of ViewBag Dictionary #12

Closed gep13 closed 4 years ago

gep13 commented 4 years ago

Rather than expecting a ViewBag to be populated using an Action, allow passing in a populated Dictionary<string, object> for the ViewBag.

Fixes #11

gep13 commented 4 years ago

@mholo65 with this change, all unit tests in Cake.Issues.Reporting.Generic now pass. There were some additional changes that need to be made over there as well, but this change would be required.

What are your thoughts on pulling this in?

gep13 commented 4 years ago

We discussed the contents of this PR at length on tonights stream, if you want to review what was discussed, then please feel free 😄

bjorkstromm commented 4 years ago

@gep13 thank you for your contribution. Your changes have been merged!

gep13 commented 4 years ago

@mholo65 woot! Thanks for merging this!