CreateOrUpdate() 개인적인 메소드

private CreateOrUpdate ( int id, Product, product ) : HttpResponseMessage,
id int
product Product,
리턴 HttpResponseMessage,
예제 #1
0
        public int CreateOrUpdate(TestBindModel model)
        {
            var entity = model.ToEntity();

            return(service.CreateOrUpdate(entity, true));
        }