public UserDetailsModel AdminLoginCheck(Int64 PhoneNumber, string Password) { UserDetailsModel UserModel = new UserDetailsModel(); UserDetailsEntity UserEntity = new UserDetailsEntity(); ServiceLayer.InformationService obj = new InformationService(); InformationObjectMapper objmapper = new InformationObjectMapper(); UserEntity = obj.AdminLoginCheck(PhoneNumber, Password); UserModel = objmapper.MapUserDetailsModelToEntity(UserEntity); return(UserModel); }