I have an Interface like this:
namespace QuickRoutes.Model.Utilities
{
public interface IRoutesManager
{
bool ImportRoute(Stream inputStream, string fileName);
List<Route> GetAllRoutes();
List<Route> GetAllRoutesForDate(DateTime from, DateTime to);
void DeleteRoute(string routeName);
void DeleteAllRoutes();
}
}
and I want to access to i.e ImportRoute function from my Form but I cant access to this Function and an error occured like this: cannot create an instance of the abstract class or interface How can I access to these functions?