/// <summary>
        /// Validate Profile
        /// </summary>
        /// <param name="model"></param>
        /// <param name="errormsg"></param>
        /// <returns></returns>
        public static bool ValidateModel(ProfileMiniModel model, out string errormsg)
        {
            errormsg = string.Empty;

            if (model == null)
            {
                errormsg = "Profile Name and description Required";
                return(false);
            }

            if (string.IsNullOrEmpty(model.FirstName.Trim()))
            {
                errormsg = "Profile Name Required";
                return(false);
            }

            //if (string.IsNullOrEmpty(model.Gender.Trim()))
            //{
            //    errormsg = "Profile Name Required";
            //    return false;
            //}

            //if (string.IsNullOrEmpty(model.Description.Trim()))
            //{
            //    errormsg = "Profile description Required";
            //    return false;
            //}
            return(true);
        }
        /// <summary>
        /// Create Profile entity
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static Profile Create(ProfileMiniModel model, LGA theLGA, User theUser)
        {
            return(new Profile()
            {
                FirstName = model.FirstName,
                LastName = model.LastName,
                Hobby = model.Hobby,
                Profession = model.Profession,
                MaritalStatus = model.MaritalStatus,
                Gender = model.Gender,
                TheLGA = theLGA,
                TheUser = theUser,

                Id = Guid.NewGuid().ToString(),
                CreatedAt = DateTime.Now,
                IsApproved = true,
                ModifiedAt = DateTime.MinValue,
                RecordStatus = RecordStatus.ACTIVE
            });
        }