Example #1
0
        public Brick Create(Brick newBrick)
        {
            int id = _repo.Create(newBrick);

            newBrick.Id = id;
            return(newBrick);
        }
Example #2
0
        internal object Create(Brick newBrick)
        {
            int id = _repo.Create(newBrick);

            newBrick.Id = id;
            return(newBrick);
        }
Example #3
0
 internal Brick Create(Brick newData)
 {
     _repo.Create(newData);
     return(newData);
 }
Example #4
0
 internal Brick Create(Brick newBrick)
 {
     return(_repo.Create(newBrick));
 }