示例#1
0
        public HttpResponseMessage RemoveGallery(int id)
        {
            var suite = _suiteService.Find(id);

            suite.GalleryId = null;
            _db.SaveChanges();
            return(new HttpResponseMessage(HttpStatusCode.OK));
        }
示例#2
0
 public Suite SuiteFind(int id)
 {
     return(_suiteService.Find(id));
 }