예제 #1
0
 public int MsgDeleteAdd(MsgDelete MsgDeleteModel)
 {
     return(dal.MsgDeleteAdd(MsgDeleteModel));
 }
예제 #2
0
 public int MsgDeleteAdd(MsgDelete MsgDeleteModel)
 {
     context.MsgDeletes.Add(MsgDeleteModel);
     context.SaveChanges();
     return(MsgDeleteModel.DeleteUserID);
 }