//Create group contact
        public static GroupContactDTO Create(GroupContactDTO GroupContactDTO)
        {
            try
            {
                var GroupContact = new GroupContact();

                UnitOfWork uow = new UnitOfWork();
                GroupContact = Transform.GroupContactNewToDomain(GroupContactDTO);
                uow.GroupContactRepo.Insert(GroupContact);

                uow.SaveChanges();
                GroupContact.Id = GroupContact.Id;
                return Transform.GroupContactNewToDTO(GroupContact);

            }

            catch (Exception)
            {
                throw;
            }
        }
 public static GroupContactDTO GroupContactNewToDTO(GroupContact GroupContact)
 {
     if (GroupContact == null) return null;
      Mapper.CreateMap<GroupContact, GroupContactDTO>();
      GroupContactDTO GroupContactDTO = Mapper.Map<GroupContactDTO>(GroupContact);
      return GroupContactDTO;
 }