public UserInfo Create(UserInfo entity) { UserInfo createdUser = _contex.Add <UserInfo>(entity).Entity; _contex.SaveChanges(); return(createdUser); }
public Category Create(Category entity) { Category createdCategory = _ctx.Add <Category>(entity).Entity; _ctx.SaveChanges(); return(createdCategory); }
public Product Create(Product entity) { Product createdProduct = _ctx.Add <Product>(entity).Entity; _ctx.SaveChanges(); return(createdProduct); }
public BookingOrder Create(BookingOrder entity) { BookingOrder createdBooking = _ctx.Add <BookingOrder>(entity).Entity; _ctx.SaveChanges(); return(createdBooking); }