public UserDetailsModel GetUserDetailsWithPassword(Int64 PhoneNumber, string Password) { UserDetailsModel DetModelObj = new UserDetailsModel(); UserDetailsEntity DetEntityObj = new UserDetailsEntity(); ServiceLayer.InformationService obj = new InformationService(); InformationObjectMapper ObjMapper = new InformationObjectMapper(); DetEntityObj = obj.GetUserDetailsWithPassword(PhoneNumber, Password); DetModelObj = ObjMapper.MapDetailsEntityToDetailsModel(DetEntityObj); return(DetModelObj); }
public UserDetailsModel GetUserDetailsWithOTP(Int32 OTP, Int64 PhoneNumber) { UserDetailsModel DetModelObj = new UserDetailsModel(); UserDetailsEntity DetEntityObj = new UserDetailsEntity(); ServiceLayer.InformationService obj = new InformationService(); InformationObjectMapper ObjMapper = new InformationObjectMapper(); DetEntityObj = obj.GetUserDetailsWithOTP(OTP, PhoneNumber); DetModelObj = ObjMapper.MapDetailsEntityToDetailsModel(DetEntityObj); return(DetModelObj); }