|
In IServiceIncident.cs
[ServiceContract]
public interface IServiceIncident
{
[OperationContract]
List<clsApplicationsList> mFnGetApplicationsList();
[OperationContract]
List<clsProgramList> mFnGetProgramsList();
}
And have corresponding classes defined correctly as…
[DataContract]
public class clsApplicationsList
{
public string _AppName = "";
[DataMember]
public string Prp_AppName
{
get
{
return _AppName;
}
set
{
_AppName = value;
}
}
In IServiceIncident.svc.cs
public class ServiceIncident : IServiceIncident
{
public List<clsApplicationsList> mFnGetApplicationsList()
{
try
{}
public List<clsProgramList> mFnGetProgramList()
{
}
__------------------------------------------
Here I am getting error in svc.cs file as “Error 1 ...Web.ServiceIncident' does not implement interface member ‘...Web.IServiceIncident.mFnGetProgramsList()' ...Web\ServiceIncident.svc.cs 13 18 ...Web”
Any suggestion why this is happening…
Please guide.
Thanks
Sreenath
|