Exemplo n.º 1
0
        public bool Add(Type type)
        {
            _dbContext.Types.Add(type);


            return(_dbContext.SaveChanges() > 0);
        }
 public bool Add(Type type)
 {
     return(_typeRepository.Add(type));
 }