Exemplo n.º 1
0
        public District Add(District district)
        {
            _context.DistrictItems.Add(district);
            _context.SaveChanges();

            return(district);
        }
Exemplo n.º 2
0
        public Province Add(Province province)
        {
            _context.ProvinceItems.Add(province);
            _context.SaveChanges();

            return(province);
        }
Exemplo n.º 3
0
        public Address Add(Address address)
        {
            _context.AddressItems.Add(address);
            _context.SaveChanges();

            return(address);
        }
Exemplo n.º 4
0
        public User Add(User user)
        {
            _context.UserItems.Add(user);
            _context.SaveChanges();

            return(user);
        }
Exemplo n.º 5
0
        public LogisticOtherService Add(LogisticOtherService logisticOtherService)
        {
            _context.LogisticOtherServiceItems.Add(logisticOtherService);
            _context.SaveChanges();

            return(logisticOtherService);
        }
Exemplo n.º 6
0
        public RajaOngkirCity Add(RajaOngkirCity rajaOngkirCity)
        {
            _context.RajaOngkirCityItems.Add(rajaOngkirCity);
            _context.SaveChanges();

            return(rajaOngkirCity);
        }
Exemplo n.º 7
0
        public Regency Add(Regency regency)
        {
            _context.RegencyItems.Add(regency);
            _context.SaveChanges();

            return(regency);
        }
Exemplo n.º 8
0
        public LogisticPacket Add(LogisticPacket logisticPacket)
        {
            _context.LogisticPacketItems.Add(logisticPacket);
            _context.SaveChanges();

            return(logisticPacket);
        }
Exemplo n.º 9
0
        public UserRole Add(UserRole userRole)
        {
            _context.UserRoleItems.Add(userRole);
            _context.SaveChanges();

            return(userRole);
        }
Exemplo n.º 10
0
        public Country Add(Country country)
        {
            _context.CountryItems.Add(country);
            _context.SaveChanges();

            return(country);
        }
        public LogisticFareIdentity Add(LogisticFareIdentity logisticFareIdentity)
        {
            _context.LogisticFareIdentityItems.Add(logisticFareIdentity);
            _context.SaveChanges();

            return(logisticFareIdentity);
        }
Exemplo n.º 12
0
        public LogisticServiceFare Add(LogisticServiceFare logisticFareNominal)
        {
            _context.LogisticServiceFarelItems.Add(logisticFareNominal);
            _context.SaveChanges();

            return(logisticFareNominal);
        }
        public RajaOngkirProvince Add(RajaOngkirProvince rajaOngkirProvince)
        {
            _context.RajaOngkirProvinceItems.Add(rajaOngkirProvince);
            _context.SaveChanges();

            return(rajaOngkirProvince);
        }