I have subjected error. Why this error is comming, even I used same thing for my other classes.
ActCtrl ctrl = new ActCtrl();
Act action = ctrl.GetAct(companyID, actionID);
And in Act class.
public Act GetAct(string companyID, string actionID)
{
return (new ActBO()).GetAct(companyID, actionID);
}
And in BO class
public Act GetAct(string companyID, string actionID)
{
return (new ActDAO()).GetAct(companyID, actionID);
}
It gives me Cannot implicitly convert type 'Ent.Act' to 'ERP.Actions.Act' error on
Act action = ctrl.GetAct(companyID, actionID);
Any idea please. Thanks.