public async Task <IEnumerable <MembersDTO> > GetAllMembers()
        {
            var members = await _memberRepo.GetAll();

            var membersList = _mapper.Map <List <MembersDTO> >(members.ToList());

            return(membersList);
            //return members.ToList().Select(x => new MembersDTO()
            //{
            //    MemberId = x.MemberId,
            //    FristName = x.FristName,
            //    LastName = x.LastName,
            //    EmailId = x.EmailId,
            //    Password = x.Password,
            //    IsActive = x.IsActive,
            //    IsDelete = x.IsDelete,
            //    CreatedOn = x.CreatedOn,
            //    ModifiedOn = x.ModifiedOn
            //}).ToList();
        }