示例#1
0
        //create/post
        internal Flower Create(Flower newFlower)
        {
            Flower created = _repo.Create(newFlower);

            if (created == null)
            {
                throw new Exception("Create Request Failed");
            }
            return(created);
        }
示例#2
0
 internal Flower Create(Flower newFlower)
 {
     return(_repo.Create(newFlower));
 }