public async Task <HttpResponseMessage> GetEditProfile(int UserID)
        {
            try
            {
                ProfileDAL  dal  = new ProfileDAL();
                EditProfile data = await dal.GetEditProfile(UserID);

                if (data != null)
                {
                    return(Request.CreateResponse <EditProfile>(HttpStatusCode.OK, data));
                }
                else
                {
                    return(Request.CreateErrorResponse(HttpStatusCode.NotFound, Constants.ErrorNotFound));
                }
            }
            catch (DbEntityValidationException ex)
            {
                var    controllerName = ControllerContext.RouteData.Values["controller"].ToString();
                var    actionName     = ControllerContext.RouteData.Values["action"].ToString();
                Logger log            = new Logger();
                log.ErrorLog(ex, controllerName, actionName);
                return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, Constants.ErrorSysError));
            }
        }