public Partner AddPartner(Partner partner)
        {
            try
            {
                if (partnerRepository.AddPartner(partner) == null)
                {
                    return(null);
                }

                return(partner);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 2
0
 public Partner AddPartner(Partner partner)
 {
     partner = partnerrepo.AddPartner(partner);
     return(partner);
 }