public static void PrintInfo(ICrudable crudable) { crudable.Add(); crudable.Update(); crudable.Delete(); crudable.Read(); Console.WriteLine(); }
public static void DoDbOperation(ICrudable crud) { Console.WriteLine("Doing db operations"); crud.Create(); crud.Read(); crud.Update(); crud.Delete(); }
public static void DoDbOperation(ICrudable icrudable) { Console.WriteLine("In side DoDbOperation"); icrudable.Create(); icrudable.Read(); icrudable.Delete(); icrudable.Update(); }
public static void DoDbOpperation(ICrudable crudOp) { Console.WriteLine("Inside Db operation"); crudOp.Create(); crudOp.Read(); crudOp.Update(); crudOp.Delete(); }