Hi,
In my opinion expando object should to have setter. I've created service method wich builds RazorMail instance from several parameters and I want to pass dynamic object to that method.
public void SendMail(string templateName, dynamic model, string toAddresess, string subject, string from)
In this case I cannot have one method for all my messages, because I need to set expando object explicitly
Domantas
Hi,
In my opinion expando object should to have setter. I've created service method wich builds RazorMail instance from several parameters and I want to pass dynamic object to that method.
public void SendMail(string templateName, dynamic model, string toAddresess, string subject, string from)
In this case I cannot have one method for all my messages, because I need to set expando object explicitly
Domantas