public ApiResponse <dynamic> LogIn(LogInModel logInModel) { var deviceNo = GetDeviceNo(); var customerSummary = new CustomerSummary(); var isLogin = _customerServices.CustomerLogIn(deviceNo.Trim(), logInModel.Password.Trim(), logInModel.Email.Trim()); customerSummary = _customerServices.GetCustomerSummaryByEmail(logInModel.Email.Trim()); return(ApiUtility.ApiSuccess <dynamic>(new { IsLogin = isLogin, CustomerSummary = customerSummary }, isLogin ? "Loging successfully" : "Failed !!! Incorrect Email or Password")); }