public void GroupBookingCommentsAdd(GroupBookingReportModel modelToSave) { Air_GroupBookingComments datamodel = new Air_GroupBookingComments { GroupBookingId = (Int64)modelToSave.GroupBookingId, Comment = modelToSave.PostComment, isDelete = modelToSave.isDelete, CreatedBy = modelToSave.CreatedBy, CreatedDate = DateTime.Now }; ent.AddToAir_GroupBookingComments(datamodel); ent.SaveChanges(); }