public Partner AddPartner(Partner partner) { try { if (partnerRepository.AddPartner(partner) == null) { return(null); } return(partner); } catch (Exception ex) { throw ex; } }
public Partner AddPartner(Partner partner) { partner = partnerrepo.AddPartner(partner); return(partner); }