public void NewFeedBack(FeedBack_Info _Info, FeedBack_Point _Point, FeedBack_IMG _IMG, FeedBack_Description _Description)
 {
     try
     {
         _info.Add(_Info);
         _Point.FeedBackID       = _Info.FeedBackID;
         _IMG.FeedBackID         = _Point.FeedBackID;
         _Description.FeedBackID = _Point.FeedBackID;
         _point.Add(_Point);
         _img.Add(_IMG);
         _description.Add(_Description);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
        public async Task NewFeedBack(FeedBack_Info _Info, FeedBack_Point _Point, FeedBack_Description _Description)
        {
            try
            {
                await _info.Add(_Info);

                _Point.FeedBackID       = _Info.FeedBackID;
                _Description.FeedBackID = _Point.FeedBackID;
                await _point.Add(_Point);

                await _description.Add(_Description);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }