Пример #1
0
        public string AddTypeR(Club clubInDb, ClubDto clubDto)
        {
            if (clubDto.Types != null)
            {
                foreach (var type in clubDto.Types)
                {
                    var typeErMsg = _typeService.AddClubR(type, clubInDb);
                    if (!string.IsNullOrWhiteSpace(typeErMsg))
                    {
                        return(typeErMsg);
                    }
                }
                return(null);
            }

            return(null);
        }