I want to all class from controller like this:
public void POSR(Item model)
{
//some code...
db.SaveChanges();
// class Printer
Printer pr = new Printer();
//call the method
pr.PrintajNarudzbu(racunstavketemp);
pr.mb();
}
this works perfectly on VS 2012 platform, but on IIS it produce an inner server error 500. any help, please.