public void Create(String id, String userID, String Name) { GroupModel groupModel = new GroupModel(); groupModel.Id = id; groupModel.userID = userID; groupModel.GroupName = Name; db.GroupModel.Add(groupModel); db.SaveChanges(); }
public void Create(String id, String userID, String Name) { GroupModel groupModel = new GroupModel(); groupModel.Id = id; groupModel.userID = userID; groupModel.GroupName = Name; db.GroupModel.Add(groupModel); db.SaveChanges(); }