// public List<Home> SaveProfileData([FromBody] Home saveprofiledata)
 public Home SaveProfileData(string FirstName, string LastName, string EmailAddress, string Password, DateTime DateOfMissPeriod, string primarycarehospital)
  {
      Home Profile = new Home();
      try
      {
          List<Home> saveprofile = new List<Home>();
          
          Profile.UserId = 1;
          Profile.HospitalId = 1;
          Profile.HospitalName = "Apollo";
          return Profile;
      }
      catch (Exception ex)
      {
          throw ex;
      }
  }
         public Home AuthenticateLogin(string EmailAddress, string Password, bool flag)
         {
             Home login = new Home();
               flag=true;
               try
               {
                   if (flag == true)
                   {
                       List<Home> authenticate = new List<Home>();
                       login.UserId = 1;
                       login.HospitalId = 1;
                   }
               }

               catch (Exception ex)
               {
                   throw ex;
               }

               return login;
         }
        public Home SaveWeight(int UserId, DateTime Date, decimal Weight)
        {
            Home Weightobj = new Home();

            try
            {
                List<Home> journalorquestion = new List<Home>();
                Weightobj.WeightTrackerID = 1;
                Weightobj.Weight = 50.7M;
                Weightobj.Date = Convert.ToDateTime("2015-10-16 00:00:00.000");

                return Weightobj;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
              //public List<Home> SaveJournalOrQuestions([FromBody] Home journalorquestionsdata)
              public Home SaveJournalOrQuestions(int UserId,string Text,int JournalTypeId)
              {
                  Home journal = new Home();
                  try
                  {

                      List<Home> journalorquestion = new List<Home>();
                      journal.UserId = 1;
                      journal.TypeOfText = "Jounal";
                      journal.UserName = "******";
                      journal.Text = "xyz";
                      journal.Date = Convert.ToDateTime("2015-10-16 00:00:00.000");
                      return journal;
                  }
                  catch (Exception ex)
                  {
                      throw ex;
                  }
              }