public bool Delete(int id) { try { objEmployee.DeleteEmployee(id); return(true); } catch (Exception e) { Console.WriteLine(e.Message); return(false); } }
public bool Delete(int id) { try { objEmployee.DeleteEmployee(id); return(true); } catch (Exception e) { Console.WriteLine(e.Message); return(false); } }