示例#1
0
        public IsGoing Delete(IsGoing isGoing)
        {
            context.IsGoings.Remove(isGoing);

            context.SaveChanges();
            return(isGoing);
        }
示例#2
0
 public IsGoing Create(IsGoing isGoing)
 {
     context.IsGoings.Add(isGoing);
     context.SaveChanges();
     return(isGoing);
 }