public DtoBusinessOwner AddBusinessOwnerBLL(DtoBusinessOwner uu)
        {
            DalBusinessOwner dbo = new DalBusinessOwner();

            return(Converters.Converters.ConvertBusinessOwnerToDTO
                       (dbo.addBusinessOwnerToSQL(Converters.Converters.ConvertBussinessOwnerToDAL(uu))));
        }
        public List <DtoBusinessOwner> GetAllBusinessOwnerFromBll()
        {
            DalBusinessOwner bod = new DalBusinessOwner();

            List <DtoBusinessOwner> dtoBusinessOwner = new List <DtoBusinessOwner>();
            List <BusinessOwner>    bo = bod.GetAllBusinessOwnersFromDal();

            foreach (BusinessOwner currentBussinesOwner in bo)
            {
                dtoBusinessOwner.Add(Converters.Converters.ConvertBusinessOwnerToDTO(currentBussinesOwner));
            }
            return(dtoBusinessOwner);
        }