public void Update(ContactDto contactDto) { try { ContactBrl.Update(contactDto, objContex); } catch (Exception ex) { throw ex; } }
public void Delete(int id) { try { ContactBrl.Delete(id, objContex); } catch (Exception ex) { throw ex; } }
public void Insert(ContactDto contactDto) { try { ContactBrl.Insert(contactDto, objContex); } catch (Exception ex) { throw ex; } }
public ContactDto Get(int id) { ContactDto contactDto = null; try { contactDto = ContactBrl.GetDto(id, objContex); } catch (Exception ex) { throw ex; } return(contactDto); }