public int Update(Group_Formed group_formed)
        {
            Group_Formed grp = this.context.Group_Formed.SingleOrDefault(x => x.GroupFormedId == group_formed.GroupFormedId);

            grp.GroupReqId = group_formed.GroupReqId;
            return(this.context.SaveChanges());
        }
        public int Delete(int id)
        {
            Group_Formed grp = this.context.Group_Formed.SingleOrDefault(x => x.GroupFormedId == id);

            this.context.Group_Formed.Remove(grp);
            return(this.context.SaveChanges());
        }
 public int Insert(Group_Formed group_formed)
 {
     this.context.Group_Formed.Add(group_formed);
     return(this.context.SaveChanges());
 }
 public int Update(Group_Formed group_formed)
 {
     return(this.data.Update(group_formed));
 }
 public int Insert(Group_Formed group_formed)
 {
     return(this.data.Insert(group_formed));
 }