public void Post_DeleteContact(List <int> ids) { IContactBS bs = DIFactoryDesigntime.GetInstance <IContactBS>(); if (ids.Count > 0) { ids.ForEach(delegate(int id) { bs.DeleteContact(id); }); } }
public void DeleteContact(int id) { IContactBS bs = DIFactoryDesigntime.GetInstance <IContactBS>(); bs.DeleteContact(id); }