public int?Login(LoginModel loginobj) { HttpResponseMessage message = new HttpResponseMessage(); int?Result = paymentBLL.LoginCustomer(loginobj); if (Result > 0) { Result1 = paymentBLL.LoginVerify(loginobj.MobileNumber); if (Result1 > 0) { message.Content = new StringContent("LOGIN SUCCESS"); } else { message.Content = new StringContent("LOGIN PrePaid"); } } else { message.Content = new StringContent("LOGIN FAIL"); Result1 = -1; } return(Result1); }