public static bool CreateCompnayProfile(Company company)
        {
            PackageService packageService = new PackageService();

            company.CreatedOn = DateTime.Now; // inserted current datetime value.

            var companyId = packageService.CreateCompnayProfile(SessionWrapper.LoggedUser.UserId, company);

            if (companyId != 0)
            {
                SessionWrapper.LoggedUser.CompanyId = companyId;
                return(true);
            }
            return(false);
        }