コード例 #1
0
ファイル: HotelPicService.cs プロジェクト: JPomichael/IPOW
        public bool Add(iPow.Infrastructure.Data.DataSys.Sys_HotelPic enitty, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (enitty != null)
            {
                try
                {
                    hotelPicRepository.Add(enitty);
                    hotelPicRepository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }