コード例 #1
0
        //public static List<PartnerCreation> GetPartnerCreationList()
        //{
        //    try
        //    {
        //        // partnercreation = (from parttyp in _unitOfWork.PartnerType.GetAll()
        //        //                    join partcr in _unitOfWork.PartnerCreation.GetAll()
        //        //                    on parttyp.Code equals partcr.Partnertype
        //        //                    where parttyp.AccountType == NatureOfAccounts.TRADEVENDORS.ToString()
        //        //                    select partcr),
        //        var partnerCreationList = PartnerCreationHelper.GetList();
        //        var partnerTypeList = PartnerTypeHelper.GetPartnerTypeList();

        //        return (from parttyp in partnerTypeList
        //                join partcr in partnerCreationList
        //                on parttyp.Code equals partcr.Partnertype
        //                where parttyp.AccountType.Equals("TRADEVENDORS", StringComparison.OrdinalIgnoreCase)
        //                select partcr).ToList();
        //    }
        //    catch { throw; }
        //}
        public static List <Brand> GetBrandList()
        {
            try
            {
                return(InventoryHelper.GetBrandList());
            }
            catch { throw; }
        }